• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customization of ant in WSAD

 
Joe Cheung
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that some files that are necessary to run my java project, says a properties file, in a JAVA source package folder were not copied to the "default output folder" when I built the project. How can I customize the build process to include these files into the corresponding package folder in WSAD?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are cleverer than I am, I think you can add a builder to the WSAD project that will cause it to copy the files for you. I've never studied it properly, however, since my production builds are typically done on a non-GUI machine and I require Ant to be able to do these builds from the command line. So the way I do it is create a standalone build.xml file at the top of the project, then right-click on its icon and select "Ant build" off the popup menu.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34223
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe,
If you put them in a source folder, they will get copied to the default output folder.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic