Closed andreacfm closed 12 years ago
I'll check it out. I just tested on Windows this morning because I think that's what Lyle is on.
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.
er, maybe:
ls -al /System/Library/Frameworks/JavaVM.framework/Versions/
As I think ll is just a personal alias. =)
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 ?
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.
I see that but I see benefits in passing these values as variables. One builder for many projects/environments.
Andrea
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
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.
I am getting this:
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