Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] Override ignored for property javacSource

Hi,

I am trying to use PDE Build (Eclipse 3.1.1) to automate my build and I
am getting really confused.  I am trying to debug the build (which does
work headless, but needs some modification to meet our needs - hence my
attempts to debug).  On the command line I can pass in the following:

eclipse.exe-application org.eclipse.pde.build.Build -verbose -consolelog
-DbaseLocation=myBaseLocation -data myWorkspace
-DbuildDirectory=myBuildDirectory

This works fine.  In the build.properties file for the build I have the
following
------------------------------------------------------------------------
------------------
# Extra arguments for the compiler. These are specific to the java
compiler being used.
#compilerArg=

# The version of the source code
javacSource=1.5

# The version of the byte code targeted
javacTarget=1.5
------------------------------------------------------------------------
------------------

When I create a launch configuration I launch it with the following
program options
------------------------------------------------------------------------
------------------
-Dbuilder="C:\eclipse\workspace\myProject.build\bootstrap"
-DbaseLocation="C:\eclipse\eclipse3.1.1\eclipse"
-buildfile="C:\eclipse\workspace\org.eclipse.pde.build\scripts\build.xml
"  -DjavacSource=1.5 -DjavacTarget=1.5 -verbose -clean
------------------------------------------------------------------------
------------------
It does the fetch and starts the build, but then I get this:

[property] Loading
C:\eclipse\myWorkspace\com.intel.iegd.build\bootstrap\build.properties
Override ignored for property javacTarget
Override ignored for property baseLocation
Override ignored for property javacSource

And finally this error:
------------------------------------------------------------------------
------------------
java.lang.NoClassDefFoundError:
org/eclipse/jdt/internal/compiler/impl/CompilerOptions
------------------------------------------------------------------------
------------------

What is going on?  Why is it ignoring the compiler option for 1.5?  I
have tried passing the following in the program options, but that
doesn't work either.

 -DjavacSource=1.5 -DjavacTarget=1.5 

Susan Foster
IPD - ISO
email:  susan.b.foster@xxxxxxxxx
phone: 480/552-0927
Eclipse Wizards Program Site
<http://icg-tct.intel.com/sites/cig/eid/project/EclpWiz/default.aspx> 



Back to the top