[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-build-dev] Eclipse 3.2 PDE Build: javac fails on log file??
|
I found the problem...
I have been using an Ant property called
${temp.folder} in my build scripts for ages and it looks like the PDE build
now wants to use the same property for something else. I simply had
to change the name of my variable to avoid the collision. An interesting,
yet extremely frustrating side effect of Ant's immutable properties.
Mark.
----------------------------------------------------------
__________________
I am trying to run my build for the
first time using the Eclipse 3.2 PDE builder. It fails like so:
platform.jar:
[mkdir] Created dir: C:\Temp\IDE_TEST_BUILD\eclipse\plugins\com.amis.platform\temp.folder\platform.jar.bin
[javac] Compiling 1 source file to C:\Temp\IDE_TEST_BUILD\eclipse\plugins\com.amis.platform\temp.folder\platform.jar.bin
[javac] cannot open .log file
BUILD FAILED
...etc.
And - checking out the generated build.xml
on the offending line I have:
<!-- compile the source code -->
<javac destdir="${temp.folder}/platform.jar.bin"
failonerror="${javacFailOnError}" verbose="${javacVerbose}"
debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}"
source="${bundleJavacSource}" target="${bundleJavacTarget}"
>
<compilerarg
line="${compilerArg}" compiler="${build.compiler}"/>
<classpath
refid="platform.jar.classpath" />
<src path="src/"
/>
<compilerarg
value="@${basedir}/javaCompiler.platform.jar.args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<compilerarg
line="-log '${temp.folder}/platform.jar.bin${logExtension}'"
compiler="org.eclipse.jdt.core.JDTCompilerAdapter"/>
</javac>
My question is - first of all why is
this failing? The directory ${temp.folder}/platform.jar.bin
exists, but the log file ${temp.folder}/platform.jar.bin${logExtension}
does not. Shouldn't javac create the logfile automatically? Second,
can I tell it not to create a logfile?
I am on Windows XP, with JDK 1.5. There
do not appear to be any permissions problems.
M.
AMI Semiconductor - "Silicon Solutions for the Real World"
NOTICE:
This electronic message contains information that may be confidential or privileged. The information is intended for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you received this electronic message in error, please notify the sender and delete the copy you received.