I'm very new so hopefully not doing something totally dumb. So I'm trying to use installApp task from application plugin.
It gets 95% of what is needed, except for a folder that needed to be in the install folder somewhere and on the java classpath. So I added a file to the runtime dependency something like this... dependencies{ ...other stuff... runtime files("/src/main/somefolderIneed") } The folder "somefolderIneed" has subfolders with files in them something like this. somefolderIneed /subfolder1 .file1 .file2 /subfolder2 .file1 Now I need the whole folder to make it to the install folder in the build output _and_ I need the folder (not the individual files) to be in the classpath. What happens is... /subfolder1, and /subfolder2 end up in the libs folder directly along with the .jar dependencies (the "somefolderIneed" doesn't make it just the contents) However, in the shell script created to run the app in the bin folder the classpath includes... APP_HOME/lib/somefolderIneed ...which actually isn't even in the lib folder! Now if I manually create "somefolderIneed" under the lib folder, and then move the subfolders back underneath it - then the shell script runs the application just fine. Any thoughts or advice for a newb appreciated. -- View this message in context: http://gradle.1045684.n5.nabble.com/installApp-copies-runtime-file-dependency-to-unexpected-location-and-seems-to-get-classpath-wrong-tp5468479p5468479.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email