facebook

Compile Struts 1.2.8

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #242098 Reply

    Hi,
    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

    #242100 Reply

    I’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
    #242102 Reply

    David Orriss Jr
    Participant

    Have 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?

    #242139 Reply

    I’m using Gentoo platform, and I try to generate a J2EE platform build process.

    #242141 Reply

    Thanks for your help DaveO.

    #242174 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Compile Struts 1.2.8

You must be logged in to post in the forum log in