Re: [Concern-users] building the CVS version
Brought to you by:
hengels,
leonchiver
|
From: Holger E. <he...@me...> - 2004-07-13 15:18:54
|
> I have created a batch file...similar to the following lines > > > > set CONCERN_HOME=C:\Concern\concern\concern > > set ANT_HOME=C:\Ant\apache-ant-1.6.0 > > set JAVA_HOME=c:\jdk14 > > set PATH=%PATH%;%JAVA_HOME%/bin;%ANT_HOME%/bin > > set CLASSPATH= > > ant compile con:cern consists of several modules. instead of "ant compile" better use something like this: for f in model devel controller do cd $f ant all dist cd .. done or: cd model ant all dist cd .. cd devel ant all dist cd .. cd controller ant all dist cd .. Then you have built the api (model), the modeller (devel) and the runtime (controller). You can start the modeller with the script: devel/dist/bin/cm.sh or: devel\dist\bin\cm.bat Afterwards you might want to build the embedded-demo: cd embedded-demo ant dist cd .. Start the demo with: embedded-demo/dist/bin/embedded-demo.sh sorry, no dos script available yet! If you get there, come back to me. If you encounter problems during build, please send the ant output. > Howevere I get SAXParseException exception, > > > [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml). > > [ejbdoclet] org.xml.sax.SAXParseException: Element "enterprise-beans" > requires additional elements. Don't build the module j2ee. It is out of date. You will find jboss / jmx support there, soon. > BTW I copied my jboss-j2ee.jar file into the lib directory , You don't need that anymore. > my Jboss version is jboss-4.0.0DR2, never tried jboss 4. still using 3.2 > I have JDK14 ok > I have Ant 1.6 ok the j2ee-demo should work tomorrow, after you cvs update and rebuild the whole project. The problem is, that the anonymous cvs server on sourceforg is not current. It takes some time until changes commited to the development repository get to the anonymous repository. Holger Engels (Dipl Inf Med) -- Consultant, Architect, Developer Mobile: +49 176 20119752 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |