Sublime Forum

Ant build

#1

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 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!

0 Likes

#2

Try removing the quotes from workingDir

0 Likes

#3

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”

0 Likes

#4

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.

0 Likes