- This topic has 5 replies, 3 voices, and was last updated 19 years 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,
Ruddy
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
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?
Sylvain BonnemaisonMemberI’m using Gentoo platform, and I try to generate a J2EE platform build process.
Sylvain BonnemaisonMemberThanks for your help DaveO.
Riyad KallaMemberMoving to OT > Soft Dev.
-
AuthorPosts