• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Ant: Jar File with src folder in it

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I just created with ant a jar file and everything works, but in the jar file the src folder is ommited, but I need it because I'm referrencing a file from the application.

I.e. I have the following structure in my project ProjectName/src/org/nexLevel/nextLevel/Main.java. I also have ProjectName/config/settings.properties.

When I know build a jar file with ant I get only the folders org/nexLevel/nextLevel/Main.java but not the src folder. How can I get the src folder in my .jar?

Here is my ant script:
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic