Hi,
I am aware that there is no official support for Netbeans, but since
Netbeans uses ant, I thought that gradle would work.
My build.gradle file contains:
ant.importBuild 'build.xml'
The build.xml file in the root of a netbeans project contains:
<import file="nbproject/build-impl.xml"/>
The nbproject/build-impl.xml file contains:
<target depends="-pre-init,-init-private,-init-libraries,-init-user"
name="-init-project">
<property file="nbproject/project.properties"/>
</target>
The nbproject/project.properties file contains:
web.docbase.dir=web
However, when I run `gradle default', the following error is thrown:
-----------------
Execution failed for task ':-copy-webdir'.
Cause: /home/foo/myproject/${web.docbase.dir} does not exist.
Am I missing something in my build.gradle file, or is this method of
importing build file in sub directories not supported in gradle's
ant.importBuild function?
(Running `ant default' works fine.).
--
Rob Stewart
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email