Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » External Tools Settings
External Tools Settings [message #19099] Fri, 09 May 2003 10:28 Go to next message
Eclipse UserFriend
Originally posted by: objectiveous.yahoo.com

Folks,

I'm using a tool (maven) that creates a a file called externaltools.xml in
the following
directory:
ECLIPSE_HOME\eclipse\workspace\.metadata\.plugins\org.eclips e.ui.externaltoo
ls
The idea is to create a "tool" launcher thingy for each maven goal (think
ant target). Anyhow,
the maven plugin I'm using creates and installs this xml file just fine but
eclipse(2.1.0) will have
nothing to do with it.

So, does eclipse even allow a user to define external tool settings in an
exteranl file? Would you
say the maven plugin is hoarked?

EXAMPLE XML
============
<?xml version="1.0" encoding="UTF-8" ?>
- <externaltools>
- <tool>
<entry key="!{tool_refresh}">${project}</entry>
<entry key="!{tool_show_log}">true</entry>
<entry key="!{tool_loc}">c:\maven\bin\maven.bat</entry>
<entry key="!{tool_args}">-e -p ${resource_loc} hbm2java</entry>
<entry key="!{tool_block}">false</entry>
<entry
key="!{tool_type}">org.eclipse.ui.externaltools.type.program </entry>
<entry key="!{tool_dir}">${container_loc}</entry>
<entry key="!{tool_build_types}" />
<entry key="!{tool_name}">Maven hbm2java</entry>
</tool>
-</externaltools>
Re: External Tools Settings [message #19877 is a reply to message #19099] Mon, 12 May 2003 11:06 Go to previous message
Eclipse UserFriend
Generally the user is not supposed to go and start playing with the
..metadata :-)
This is not supported and the Maven plugin is making use of the External
tools format of 2.0.
This will not work in 2.1 as the format has changed. Looks like the Maven
plugin needs to be updated.

Darins

"gmane" <objectiveous@yahoo.com> wrote in message
news:b9ho7d$i6q$1@rogue.oti.com...
> Folks,
>
> I'm using a tool (maven) that creates a a file called externaltools.xml in
> the following
> directory:
>
ECLIPSE_HOME\eclipse\workspace\.metadata\.plugins\org.eclips e.ui.externaltoo
> ls
> The idea is to create a "tool" launcher thingy for each maven goal (think
> ant target). Anyhow,
> the maven plugin I'm using creates and installs this xml file just fine
but
> eclipse(2.1.0) will have
> nothing to do with it.
>
> So, does eclipse even allow a user to define external tool settings in an
> exteranl file? Would you
> say the maven plugin is hoarked?
>
> EXAMPLE XML
> ============
> <?xml version="1.0" encoding="UTF-8" ?>
> - <externaltools>
> - <tool>
> <entry key="!{tool_refresh}">${project}</entry>
> <entry key="!{tool_show_log}">true</entry>
> <entry key="!{tool_loc}">c:\maven\bin\maven.bat</entry>
> <entry key="!{tool_args}">-e -p ${resource_loc} hbm2java</entry>
> <entry key="!{tool_block}">false</entry>
> <entry
> key="!{tool_type}">org.eclipse.ui.externaltools.type.program </entry>
> <entry key="!{tool_dir}">${container_loc}</entry>
> <entry key="!{tool_build_types}" />
> <entry key="!{tool_name}">Maven hbm2java</entry>
> </tool>
> -</externaltools>
>
>
Previous Topic:unable to resolve imports after project rebuild
Next Topic:windows rt.jar with debug
Goto Forum:
  


Current Time: Mon May 12 07:16:25 EDT 2025

Powered by FUDForum. Page generated in 0.06158 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top