Well, I'm running Callisto (3.2.1) with WTP and I have a very simple EJB
Project, which uses Maven as a Builder to generate artefacts with XDoclet.
Now, when I run eclipse:eclipse (within Eclipse, as an External Tool,
refreshing the project afterwards), I get the error
Errors during build.
Errors running builder "Integrated External Tool Builder" on project ...
The builder launch configuration could not be found.
This is the .project before
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ejbtest</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><project>/.externalToolBuilders/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.xdocletbuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><project>/.externalToolBuilders/GenerateSources.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>
</projectDescription>
and after
<projectDescription>
<name>daytrader-ejb</name>
<comment>DayTrader EJBs</comment>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<arguments/>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments/>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>
</projectDescription>
Looks to me like Eclipse kicks out my External Builder.
Maven's output is
[INFO] Executed tasks
[INFO] [eclipse:eclipse]
[INFO] File C:\jp\ejbtest\.project already exists.
Additional settings will be preserved, run mvn eclipse:clean if you want
old settings to be removed.
[INFO] Not writing settings - defaults suffice
[INFO] Wrote Eclipse project for "daytrader-ejb" to C:\jp\ejbtest.
Frankly, from the documentation I'm not quite sure whether I should define the
parameters 'wtpversion' or 'additionalBuildcommands' if I already have a fully
working project.
Best regards,
Eric
-----Ursprüngliche Nachricht-----
Von: James Mitchell [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 20. Oktober 2006 00:56
An: Maven Users List
Betreff: Re: Create only .classpath with eclipse:eclipse?
The eclipse plugin can handle most anything you throw at it. What
specifically is wrong with the output .project file?
What type of project is it? Web Tools? MyEclipse? RAD?
--
James Mitchell
678.910.8017
On Oct 19, 2006, at 11:59 AM, Lewis, Eric wrote:
> Hi
>
> I'm new to this list, so.. hi! :-)
> We're changing our build to Maven, and since the POMs are the
> masters of
> the build, we'd like to execute eclipse:eclipse whenever the POM has
> chagned.
> However, this messes up the .project file. Is there any way to tell
> the
> eclipse plugin to only generate the class path?
>
> Best regards,
> Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]