- This topic has 5 replies, 3 voices, and was last updated 19 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
Sylvain BonnemaisonMemberHi,
While compiling Struts, I get the following error:struts-1.2.8-src/build.xml:396: struts-1.2.8-src/lib not found.
What is this /lib folder for?
I’m using the following command line with no build.properties file:ant compile.library compile.javadoc -Dcommon-beanutils.jar=...
Ho can I solve this error?
Thanks,
RuddyNovember 26, 2005 at 10:06 am #242100
Sylvain BonnemaisonMemberI’m using exactly this command line:
ant compile.library test.junit -Djunit.jar=/usr/share/junit/lib/junit.jar -Dcommons-beanutils.jar=/usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar -Dcommons-collections.jar=/usr/share/commons-collections/lib/commons-collections.jar -Dstrust-legacy.jar=/usr/share/struts-legacy/lib/struts-legacy.jar -Dcommons-digester.jar=/usr/share/commons-digester/lib/commons-digester.jar -Dcommons-fileupload.jar=/usr/share/commons-fileupload/lib/commons-fileupload.jar -Djakarta-oro.jar=/usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar -Dservlet.jar=/usr/share/servletapi-2.3/lib/servlet.jar -Dcommons-lang.jar=/usr/share/commons-lang/lib/commons-lang.jar -Dcommons-logging.jar=/usr/share/commons-logging/lib/commons-logging.jar -Dcommons-validator.jar=/usr/share/commons-validator/lib/commons-validator.jar -Dantlr.jar=/usr/share/antlr/lib/antlr.jar
November 26, 2005 at 5:13 pm #242102
David Orriss JrParticipantHave you asked on the struts mailing lists? Personally I’ve only built struts a couple of times but I typically use the properties files – basically for this reason. From the looks of the new release it also appears they’re moving toward maven-based builds – so it may be easier to build via maven than ant now.
Just as an aside, any particular reason you’re building from source instead of using the binary distributions?
November 28, 2005 at 6:52 am #242139
Sylvain BonnemaisonMemberI’m using Gentoo platform, and I try to generate a J2EE platform build process.
November 28, 2005 at 6:55 am #242141
Sylvain BonnemaisonMemberThanks for your help DaveO.
November 28, 2005 at 11:41 am #242174
Riyad KallaMemberMoving to OT > Soft Dev.
-
AuthorPosts