Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Import Ant build from jar  RSS feed

Patrick Davenport
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to create a unified ant build script. All of my projects have a standard layout that I do not deviate from (lib projects have one structure, wars extend jars structure, etc). I want to build one ant script that will then just be imported into various projects. The trick is this ant script will be in a common project that all other projects will have on their classpath. As a result, I would like to simply include the ant script in the common.jar file. Then ant would just import the file from the jar's path.

Is this possible? Is it possible to read a jar as it would a file system?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!