[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ant-dev] Using eclipse.incrementalBuild task provided by the Eclipse platf orm in a simple ant file
|
First, as a reference point, which build are you using?
The eclipse.incrementalBuild task, though not visible to the user, will
always be available in the current implementation (see
http://bugs.eclipse.org/bugs/show_bug.cgi?id=27675).
So you should not need to add it as a custom task or add any jars
(classpath entries).
Can you provide a stack trace for the NPE? Or even better log the
NullPointerException with reproducible steps against the platform-ant
component
Thanks
Darins
Brugger Antony
<antony.brugger@wintert To: "'platform-ant-dev@xxxxxxxxxxx'" <platform-ant-dev@xxxxxxxxxxx>
hur.be> cc:
Sent by: Subject: [platform-ant-dev] Using eclipse.incrementalBuild task provided by the Eclipse platf
platform-ant-dev-admin@ orm in a simple ant file
eclipse.org
12/05/02 10:02 AM
Please respond to
platform-ant-dev
Hi,
Is it possible to use the eclipse.incrementalBuild ant task defined int the
Eclipse platform, in an ant file which is in my project using the
right-click + Run Ant... facility of Eclipse.
Actually I want to recompile my Eclipse project before generating a WAR
file: here is an extract of my ant script:
<!-- Build WAR file -->
<target name="BuildWar" depends="init">
<eclipse.incrementalBuild project="MonProjet" kind ="full"/>
<delete verbose="true" file="MonProjet.war"/>
<war warfile="MonProjet.war" webxml="
${root.dir}/WEB-INF/web.xml">
<fileset dir="${root.dir}">
<exclude name="**/web.xml"/>
</fileset>
<classes dir="${bin.dir}"/>
</war>
</target>
I added the task in Window/Preferences/External Tools/Ant, but I have a
null
pointer exception
Maybe I have to ad some jar's, but don't know which one?
Tks
Antony Brugger
antony.brugger@xxxxxxxxxxxx
_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev