Maven is building the JAR that contains the compiled plugin code (which
goes into the repository), and a zip file that contains the 3 things
discussed below (which just sits in the target directory).  The latter
can be directly unzipped into an Eclipse plugins directory, but is not
suitable for an update site.

I'm not comfortable sharing what we've done at this point yet because it
is very specific to our environment, and until I can actually build an
update site, I can't be sure that it is correct.  Once I can do that,
I'll look into releasing something to the world.

Jim Babka
Senior Software Engineer
Main: (512) 334 3200
Direct: (512) 334 3237
Email: [EMAIL PROTECTED]
 
Webify Solutions
Enabling the On Demand Enterprise(tm)
www.webifysolutions.com

-----Original Message-----
From: Treloar, Barrie (SAPOL) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 10, 2006 7:34 PM
To: 'Maven Users List'
Subject: RE: [m2] Maven2 building Eclipse plugins, features, and update
sites

> Eclipse does provide some ant tasks, but they require that Eclipse is
> running.  They have a way to run in headless mode, but you need to use
a
> script that invokes Eclipse, and then tell Eclipse to run its
antRunner
> process.  As far as I can tell, there is no way to have ant run these
> Eclipse tasks without running ant from Eclipse (which we clearly can't
> do if we need to run ant from maven).
> 
> Since I got no other replies, I assume that somehow, no one has done
> this before, so I need to dig into it.  I have gotten to the following
> stopping point, and I need help.  An Eclipse plugin consists of a JAR
> that contains 3 classes of items:
> 
> 1. Another jar with the actual code.
> 2. The plugin.xml file
> 3. 0 or more JAR dependencies for the plugin.
> 
> Maven builds item 1 without a problem, and we've hacked up a Mojo to
> update item 2.  Then we have a separate ant goal that runs from Maven
to
> copy all 3 to the target directory, then zip it all up.  The problem
is
> that we need to add a second artifact to the build once this ant step
is
> complete, because we need both the original jar (for other project
build
> dependencies) and the new jar (for the later Eclipse feature build
that
> I need to write).

Are you saying that you have gotten Maven to compile the eclipse plugin
as
well.  Or are you still using Ant Tasks?

In the last few weeks I've seen a few requests for Maven/Eclipse plugin
or
RCP support.

Any chance you are able to share the work you have started?

---------------------------------------------------------------------
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]

Reply via email to