• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Build Failed: build.xml seems to have errors!

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Just tried to build the JForum from source and I get this message:

It seems to me that in line 69 you try to copy the JForumxxx.jar to WEB-INF/lib, and only after, package the entire thing.
IMHO this is wrong, cause in the next build call, that JAR will be used in the classpath (and if there were changes made to the sourcecode - with errors, they remain undetected).
IMHO, the compiled JForumxxx.jar should be used only in the ZIP.

Thanks in advance,

Jake Robwood.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you fix the build.xml and put it here please? Will save me a lot of time testing it
Thanks.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Can you fix the build.xml and put it here please? Will save me a lot of time testing it


IMHO the entire build process should be reworked, but for that more work would be required. I'll try that later, but for now just to fix it and to make the build still work with minimal changes, the following is required:
Instead of:
Use this:

This way, the build process (even if it's not nice), will work and not deliver "build failed"

Jake Robwood.
[originally posted on jforum.net by Anonymous]
 
We've gotta get close enough to that helmet to pull the choke on it's engine and flood his mind! Or, we could just read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic