Hello Steve, Clearly you are on the bleeding-edge of this build framework transition. But you raise a good point. We have been reluctant to commit .classpath and .project files due to the diversity of developer preferences in setting up eclipse environments. However, we would like to standardize on an approach soon. In the meantime, I have been including the following entries along with the libs in the four projects listed below.
common & server <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/test/java"/> client <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/test/java"/> <classpathentry kind="src" path="stubwrappers"/> integrationtest <classpathentry kind="src" path="src/test/java"/> Andrew On Mon, Jun 29, 2009 at 1:46 PM, Steve Bayliss<[email protected]> wrote: > Hi Andrew > > Thanks - that seems to have done the job, it seems to be installing fine > now. > > One more question - for the new project file layout, are there any updated > instructions for what should be on the source path in Eclipse? I had a > quick trawl but i can't see anything. I think I mostly have it working by > including all the src/main/java and src/test/java folders. > > Regards > Steve > > -----Original Message----- > From: Andrew Woods [mailto:[email protected]] > Sent: 29 June 2009 17:12 > To: Steve Bayliss > Cc: [email protected] > Subject: Re: [Fedora-commons-developers] Trunk (r8097) won't do a "quick" > install > > > Hello Steve, > We are currently migrating the build framework from ANT to Maven2. > Until this process is complete, the ANT build should continue to work > as usual. The issue you raise is a result of changes in the ANT > build.xml file. The update that fixes it will make it into trunk by > Tuesday (6/30). But in the meantime, you may try swapping the > following line in the 'compile-installer' target of the build.xml: > > - <md-compile srcdir="${repo.java.dir}" > destdir="${install.build.dir}" includes="fedora/utilities/install/**" > /> > + <md-compile srcdir="${repo.java.dir}" > destdir="${install.build.dir}" > includes="fedora/utilities/**,fedora/server/config/**" /> > > Please let me know how it goes. > Andrew > > On Mon, Jun 29, 2009 at 11:54 AM, Steve > Bayliss<[email protected]> wrote: >> I can successfully build the current trunk revision ("installer" target), >> but when I try to do a quick install, I'm getting the following: >> >> Preparing FEDORA_HOME... >> Configuring fedora.fcfg >> Exception in thread "main" java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >> at java.lang.reflect.Method.invoke(Unknown Source) >> at com.simontuffs.onejar.Boot.run(Boot.java:306) >> at com.simontuffs.onejar.Boot.main(Boot.java:159) >> Caused by: java.lang.NoClassDefFoundError: >> fedora/server/config/ServerConfigurationParser >> at >> fedora.utilities.install.FedoraHome.configureFCFG(FedoraHome.java:216) >> at >> fedora.utilities.install.FedoraHome.configure(FedoraHome.java:102) >> at fedora.utilities.install.FedoraHome.install(FedoraHome.java:60) >> at fedora.utilities.install.Installer.install(Installer.java:81) >> at fedora.utilities.install.Installer.main(Installer.java:277) >> ... 6 more >> >> >> > ---------------------------------------------------------------------------- > -- >> _______________________________________________ >> Fedora-commons-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers >> > > ------------------------------------------------------------------------------ _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
