简体   繁体   中英

Jar bundler ANT task and working directory

There is a checkbox in Jar Bundler which allows to set working folder to inside package . Anybody knows how to do same thing using JarBundler ANT task? Thanks in advance!

I made it myself. Here's how:

<jarbundler dir="${deployment.dir}/bundled"
                name="qqq"
                mainclass="main.Main" 
            version="1.5"
            jvmversion="1.6+"
            icon="${deployment.dir}/Equals.icns"
                    workingdirectory="$APP_PACKAGE/Contents/Resources/Java">

Made a bundle and looked inside. There was a value "$APP_PACKAGE/Contents/Resources/Java". Jar Bundler uses it to set what i asked for. Thanks to those 9 people who at least read my question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM