-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi cr0.
I assemble Mac OS .app application and now trying to switch from ant bundler task to your gradle one. In the ant task i have the next settings, which i can't find in your implementation:
<target name="bundleMac" depends="cleanTarget, checkProperties">
<taskdef name="bundleapp"
classname="com.oracle.appbundler.AppBundlerTask"
classpath="${basedir}/lib/appbundler-1.0.jar"/>
<bundleapp >
<classpath file="${buildDir}/libs/BuildUberJar.jar"/>
<classpath file="${libDir}/lib.dylib"/>
<classpath file="${libDir}/license.txt"/>
<classpath file="${resDir}/${splashImagePath}"/>
this classpath property copies files from build resources to Contents/Java bundled directory and would be used by the application at runtime.
There are 2 problems i have:
- Instead of just putting my single über-jar to
Javadirectory it puts all the dependencies jars. - I've not found a way to copy resources (like those dylib, txt and splash image) to Java directory.
- When i build using this ant task in the result
Contentdirectory alsoResourcessubdirectory exists with my '128.icns' and some defaulten.lproj/Localizable.stringsmessages ("JRELoadError", "MainClassNameRequired", "JavaDirectoryNotFound"). Why it's absent in this gradle task?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels