Home Download Buy Blog Forum Support

ANT BUILD

ANT BUILD

Postby Tuishimi on Wed Feb 09, 2011 11:22 pm

I am trying out sublime 1.4 on Windows 7.

It looks straight forward, creating a new build script... but it is not working for me.

My script looks like:

# See http://www.sublimetext.com/docs/build for details
build ant
lineNumberRegex ^(...*?):([0-9]*):?([0-9]*)
showWhenFinished true
workingDir "X:\Work\Source\apps\XXX\build"

I've also tried a modified version of the build line that fully specifies the build file... but anyway I get:

Buildfile: build.xml does not exist!
Build failed
[Finished in 0.234 seconds]

Since I get the error I know ant is firing off, but it does not seem to be using my workingDir.

Am I doing this wrong?

Thank you!
Tuishimi
 
Posts: 14
Joined: Wed Feb 09, 2011 11:19 pm

Re: ANT BUILD

Postby jps on Wed Feb 09, 2011 11:24 pm

Try removing the quotes from workingDir
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: ANT BUILD

Postby Tuishimi on Wed Feb 09, 2011 11:30 pm

Nevermind. I futzed around with it more. The workingDir did not work... I ended up specifying the entire command at the "build" line including parameters that directed ant to the correct build file.

build ant -buildfile "X:\Work\Source\apps\XXX\build\build.xml"
Tuishimi
 
Posts: 14
Joined: Wed Feb 09, 2011 11:19 pm

Re: ANT BUILD

Postby Tuishimi on Wed Feb 09, 2011 11:31 pm

jps wrote:Try removing the quotes from workingDir


I did not see your response before I entered my last one. Removing the quotes did fix it. Thank you, I like it better this way.
Tuishimi
 
Posts: 14
Joined: Wed Feb 09, 2011 11:19 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 22 guests