denuno / railo-build

a cfdistro deal for building railo in one fell swoop
7 stars 3 forks source link

build failed #1

Closed andreacfm closed 12 years ago

andreacfm commented 14 years ago

I am getting this:

[exec] BUILD FAILED
 [exec] /Users/andrea/dev/railo-build/src/railo-java/railo-master/build.xml:23: The following error occurred while executing this line:
 [exec] /Users/andrea/dev/railo-build/src/railo-java/railo-loader/build.xml:36: Compile failed; see the compiler error output for details.
 [exec] 
 [exec] Total time: 2 seconds
 [exec] Result: 1

server.stop:

runwar.stop: [echo] stopping jetty-runner. peace out bro! [java] *\ sending jetty stop request to socket : 8971

BUILD FAILED /Users/andrea/dev/railo-build/build/build.xml:59: Warning: Could not find file /Users/andrea/dev/railo-build/src/railo-java/railo-core/dist/3.2.0.001.rc to copy.

Any suggestion ?

I am on OSX

Andrea

denuno commented 14 years ago

I'll check it out. I just tested on Windows this morning because I think that's what Lyle is on.

denuno commented 14 years ago

Hrm. I'm OSX too, and it's working for me.

Do you have the java 1.5 JVM? Apple recently put out an update to java 1.6, and if you had 1.5 installed before that, it will now be gone, with just a simlink to 1.6 again.

Bastards. Anyways, do this:

ll /System/Library/Frameworks/JavaVM.framework/Versions/

And verify that 1.5 isn't just a simlink.

denuno commented 14 years ago

er, maybe:

ls -al /System/Library/Frameworks/JavaVM.framework/Versions/

As I think ll is just a personal alias. =)

andreacfm commented 14 years ago

WTF ??? These apple guys are ridiculous ... I really miss ubuntu. Danny what to add a parameter to the .sh to say where to check out code and where to place the rc ?

denuno commented 14 years ago

Right now you control where to get the code from in build/src.xml (you'll see the railo repository is there, but commented out-- just change the denuno repository to the uri in the railo one), and the location of the .rc file and build number are set in the build/build.xml file.

andreacfm commented 14 years ago

I see that but I see benefits in passing these values as variables. One builder for many projects/environments.

Andrea

denuno commented 14 years ago

Oh, I see what you mean. Yeah, you can do that for any of the build properties, and I could modify the src.xml to use a property instead of a hard coded path.

Currently, to set the build number and rc file location for instance, this should work:

./railo-build.sh build -Drailo.build.number=3.2.0.002 -Dmove.rc.file.to.dir=/path/to/dir

denuno commented 12 years ago

This was a java issue, and src.xml is parsed for any variables for a while now-- you could pass in your own git uri if you wanted.