• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Customization of ant in WSAD  RSS feed

 
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?
 
Bartender
Posts: 20728
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • 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.
 
author & internet detective
Posts: 39283
727
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
Boost this thread!