aspose file tools*
The moose likes Mac OS and the fly likes Swing app, jarbundler ant task and file paths Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Swing app, jarbundler ant task and file paths" Watch "Swing app, jarbundler ant task and file paths" New topic
Author

Swing app, jarbundler ant task and file paths

Andy Westley
Greenhorn

Joined: Nov 09, 2004
Posts: 19
Hi all,

I've just been knocking up little application in eclipse and I'm messing about with the jarbundler ant to build a .app application bundle. When I've been writing and running the application in eclipse I've been using log4j to write out a logfile and some standard io code to load a properties file via an argument on the command line. However, I'd like log4j to write its logfile inside the application bundle and I'd like to load the properties file in from inside the bundle, and I'm not sure how to reference files within the bundle. Do I just treat it like the folder it is behind the scenes?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing app, jarbundler ant task and file paths