Hey Chad, this didn't work either - same exception: [junit] Caused by: javax.jmi.xmi.MalformedXMIException: org.netbeans.lib.jmi.util.DebugException: JAR entry andromda-profile.xml.zip not found in /data/work/andromda-src-3.0-RC1-SNAPSHOT/translation-libraries/ocl/andromda-validation/src/test/uml/ValidationLibraryTestModel.xml.zip [junit] at org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:83) [junit] at org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:70)
Matthias On Tue, 2005-03-15 at 20:14, Chad Brandon wrote: > Matthias Küspert wrote: > > >Chad, > > > >theories and real life :-( ... no: back home I could not validate it, > >with > > > >andromda.translationlibrary.test.moduleSearchPath=../../../../etc/profile/src/uml > > > > > Yeah actually now that I think about it again, that wouldn't work > because the path is relative to the project from which maven is running > from (which when it fails is > translation-libraries/ocl/andromda-validation) so the path I have in > there should be in the one that is correct. Just for the heck of > it...can you try downloading a source distrubtion from the team server > (http://team.andromda.org/maven/andromda/distributions) and building > that and see if that works? > > >I still get the exception: > > > >[junit] Caused by: javax.jmi.xmi.MalformedXMIException: > >org.netbeans.lib.jmi.util.DebugException: JAR entry > >andromda-profile.xml.zip not found in > >/data/work/andromda-cvs/translation-libraries/ocl/andromda-validation/src/test/uml/ValidationLibraryTestModel.xml.zip > > > >and worse: even the absolute setting > > > >andromda.translationlibrary.test.moduleSearchPath=/data/work/andromda-cvs/etc/profile/src/uml/ > > > >threw the same exception. Seems it's ignoring the moduleSearchPath. Any > >ideas? > > > >TIA, > >Matthias > > > > > >On Tue, 2005-03-15 at 18:50, Chad Brandon wrote: > > > > > >>Matthias Küspert wrote: > >> > >> > >> > >>>Martin, > >>> > >>>thanks anyway ;-) > >>> > >>>BTW: Chad:, what do you think about my theory? > >>> > >>> > >>> > >>> > >>Your theory is valid, however I don't understand why it builds here > >>(windows XP), on the cruise control machine (linux) and not on your > >>box? Did you try changing the property and see if it made a difference? > >> > >> > >> > >>>TIA, > >>>Matthias > >>> > >>>On Tue, 2005-03-15 at 13:31, Martin West wrote: > >>> > >>> > >>> > >>> > >>>>K, just a thought. > >>>> > >>>>On Tue, 2005-03-15 at 11:51, Matthias Küspert wrote: > >>>> > >>>> > >>>> > >>>> > >>>>>Hey Martin, > >>>>> > >>>>>I already did that before starting the build ... In fact I removed > >>>>>everything: rm -fr ~/.maven/repository/andromda* > >>>>> > >>>>>I still believe that this relative path is the source of the problem > >>>>>since IMHO maven.src is > >>>>> translation-libraries/ocl/andromda-validation/src > >>>>>and not > >>>>> translation-libraries/ocl/andromda-validation/ > >>>>> > >>>>>Cheers, > >>>>>Matthias > >>>>> > >>>>>On Tue, 2005-03-15 at 12:32, Martin West wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>I had problems building after the refactor, I had to delete all the > >>>>>>andromda*SNAPSHOT* files in the maven repository. ie > >>>>>> > >>>>>>find ..../maven/repository -name "*SNAPSHOT*" | xargs grep andromda | > >>>>>>xargs rm -f > >>>>>> > >>>>>> > >>>>>>It looks like a catch 22 bug in maven to me. > >>>>>> > >>>>>>On Tue, 2005-03-15 at 10:09, Matthias Küspert wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Hey Chad, > >>>>>>> > >>>>>>>could it be that > >>>>>>>andromda.translationlibrary.test.moduleSearchPath=../../../etc/profile/src/uml > >>>>>>>in > >>>>>>>translation-libraries/project.properties > >>>>>>> > >>>>>>>is used starting from > >>>>>>>translation-libraries/ocl/andromda-validation/src > >>>>>>>instead of > >>>>>>>translation-libraries/ocl/andromda-validation/ > >>>>>>> > >>>>>>>???? > >>>>>>>I just did another 'cvs update' but nothing changed. > >>>>>>> > >>>>>>>TIA, > >>>>>>>Matthias > >>>>>>> > >>>>>>>On Tue, 2005-03-15 at 02:23, Chad Brandon wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>Matthias Küspert wrote: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>>On Mon, 2005-03-14 at 19:05, Chad Brandon wrote: > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>>Matthias Küspert wrote: > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>>>Hey guys, > >>>>>>>>>>> > >>>>>>>>>>>I just checked out the source, but when compiling AndroMDA I get: > >>>>>>>>>>> > >>>>>>>>>>> [junit] INFO [AndroMDA] Referenced model --> > >>>>>>>>>>>'jar:file:/data/work/andromda-cvs/translation-libraries/ocl/andromda-validation/src/test/uml/ValidationLibraryTestModel.xml.zip!/andromda-profile.xml.zip' > >>>>>>>>>>> [junit] ERROR [MDRepositoryFacade] Error performing > >>>>>>>>>>>MDRepository.loadModel > >>>>>>>>>>> [junit] ERROR [ModelLoader] Error performing ModelLoader.loadModel > >>>>>>>>>>> > >>>>>>>>>>>And as (nearly) always the machine is right: > >>>>>>>>>>> > >>>>>>>>>>>There is no andromda-profile.xml.zip in the > >>>>>>>>>>>ValidationLibraryTestModel.xml.zip - shouldn't it use the standard > >>>>>>>>>>>one? > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>No, it points to the one in etc/profile (so we don't need to keep > >>>>>>>>>>changing the version since its only a test model). Things build > >>>>>>>>>>fine > >>>>>>>>>>here (and with Cruise Control), did you do a full sync with CVS? > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>That's all I did: > >>>>>>>>> > >>>>>>>>>cvs update -dP > >>>>>>>>>rm -fr ~/.maven/repository/andromda* > >>>>>>>>>maven clean > >>>>>>>>>maven > >>>>>>>>> > >>>>>>>>>cheers, > >>>>>>>>>Matthias > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>Strange. The only thing I can think of then is that anonymous CVS > >>>>>>>>wasn't up-to-date. > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>>>BTW: Before calling maven I removed all andromda* from my > >>>>>>>>>>>maven-repository and called maven clean. Missed anything? > >>>>>>>>>>> > >>>>>>>>>>>TIA, > >>>>>>>>>>>Matthias > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>>------------------------------------------------------- > >>>>>>>>>>>SF email is sponsored by - The IT Product Guide > >>>>>>>>>>>Read honest & candid reviews on hundreds of IT Products from real > >>>>>>>>>>>users. > >>>>>>>>>>>Discover which products truly live up to the hype. Start reading > >>>>>>>>>>>now. > >>>>>>>>>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >>>>>>>>>>>_______________________________________________ > >>>>>>>>>>>Andromda-user mailing list > >>>>>>>>>>>Andromda-user@lists.sourceforge.net > >>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/andromda-user > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>------------------------------------------------------- > >>>>>>>>>>SF email is sponsored by - The IT Product Guide > >>>>>>>>>>Read honest & candid reviews on hundreds of IT Products from real > >>>>>>>>>>users. > >>>>>>>>>>Discover which products truly live up to the hype. Start reading > >>>>>>>>>>now. > >>>>>>>>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >>>>>>>>>>_______________________________________________ > >>>>>>>>>>Andromda-user mailing list > >>>>>>>>>>Andromda-user@lists.sourceforge.net > >>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/andromda-user > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>------------------------------------------------------- > >>>>>>>SF email is sponsored by - The IT Product Guide > >>>>>>>Read honest & candid reviews on hundreds of IT Products from real > >>>>>>>users. > >>>>>>>Discover which products truly live up to the hype. Start reading now. > >>>>>>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > >>>>>>>_______________________________________________ > >>>>>>>Andromda-user mailing list > >>>>>>>Andromda-user@lists.sourceforge.net > >>>>>>>https://lists.sourceforge.net/lists/listinfo/andromda-user > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>-- > >>>>>>Martin West > >>>>>>01962 712137 > >>>>>>07879 680096 > >>>>>>http://www.asoh03.dsl.pipex.com/ > >>>>>>msn:[EMAIL PROTECTED] > >>>>>>aim:amartinwest > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>------------------------------------------------------- > >>>>>SF email is sponsored by - The IT Product Guide > >>>>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>>>Discover which products truly live up to the hype. Start reading now. > >>>>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > >>>>>_______________________________________________ > >>>>>Andromda-user mailing list > >>>>>Andromda-user@lists.sourceforge.net > >>>>>https://lists.sourceforge.net/lists/listinfo/andromda-user > >>>>> > >>>>> > >>>>> > >>>>> > >>>>-- > >>>>Martin West > >>>>01962 712137 > >>>>07879 680096 > >>>>http://www.asoh03.dsl.pipex.com/ > >>>>msn:[EMAIL PROTECTED] > >>>>aim:amartinwest > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>SF email is sponsored by - The IT Product Guide > >>>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>>Discover which products truly live up to the hype. Start reading now. > >>>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > >>>>_______________________________________________ > >>>>Andromda-user mailing list > >>>>Andromda-user@lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/andromda-user > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>>------------------------------------------------------- > >>>SF email is sponsored by - The IT Product Guide > >>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>Discover which products truly live up to the hype. Start reading now. > >>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > >>>_______________________________________________ > >>>Andromda-user mailing list > >>>Andromda-user@lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/andromda-user > >>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user