Problem using ant/javac/executable for JDK 1.4
Hello,
We're having problem using ant javac task's executable attribute.
We need to use this attribute in order to use JDK 1.4, but running the following code results in this undescriptive error:
<javac destdir="/home/gp185036/classes"
srcdir="/home/gp185036/src"
executable="/home/ta230211/TeamCity_Agent_Space/essue803/TeamCity-Agents/ta230211/work/8778ecf5a869c1a5/TeamCityTest/Checkout/lib/jdk/14/bin/javac"
fork="yes"
debug="on">
[14:11:12]: [javac] Error running /home/ta230208/TeamCity_Agent_Space/sdvsue100/TeamCity-Agents/ta230208/work/8778ecf5a869c1a5/TeamCityTest/Checkout/lib/jdk/14/bin/javac compiler
Could this be a bug? I've attached the full report as a word document.
Thanks,
Calvin
Attachment(s):
TeamCity problem.doc
Please sign in to leave a comment.
Calvin,
Please check javac has execute permission after it's checked out of Subversion. You can use Ant's <chmod> task for that.
Also, you can use relative paths in your build script and omit ${teamcity.build.checkoutDir}/ part, that may simplify troubleshooting in future.
Michael
chmod was the problem. What should I try next?
Thank you
Attachment(s):
chmod.log.zip
I meant to say... chmod WASN'T the problem. We're still suffering from this bug.
Can you please advise? Thanks
Can the devs please help?
I think this is a bug in TeamCity.
Thanks
Hi Calvin
Unfortunately I still cannot reproduce this behavior.
Please let us some time to research it deeper.
Thanks
Michael
Hi Michael,
Have you had a chance to look at this problem?
The script for reproducing this error is provided on the previous posts.
Thanks
Hi Calvin
Sorry, it took so much time on my side. I performed a number of tests, but didn't confirm the issue.
I would suggest to
Thanks