|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Converting Eclipse Plugin to Maven ProjectHi everyone,
I searched on the web and this forum and found two links that were close to what I was trying to do but didn't really get there. Basically I have an Eclipse plugin that I wrote that I would like to mavenize. And just to get the terminology right the plugin that I have written is a plugin that gets plugged in to Eclipse and displays information about a web based file repository. I installed Maven in Eclipse but never got the menu option that this link talks about: http://wiki.eclipse.org/Converting_Eclipse_Java_Project_to_Maven_Project And this one: http://www.nabble.com/How-to-convert-or-use-a-Maven-project-as-a-dynamic-web-project--tt23430177.html#a23433354 Which talks about a web project. So, is there any type of conversion tool that I can point to my plugin project source code files and have it move the files and read dependencies to create a pom.xml for me or am I going to have to tear it apart and rebuild it from scratch? Thanks, Andy |
|
|
Re: Converting Eclipse Plugin to Maven ProjectWe use Tycho to build Eclipse plugins and other Eclipse PDE projects,
like feature or update site. You can read more about Tycho in [1], but at high level, Tycho converts OSGi and Eclipse project metadata to in-memory MavenProject instance dynamically during the build. In many cases, it is enough to add simple pom.xml like [2] to your Eclipse Plug-in project and then run "mvn clean install". You can see full example with some explanation in [3] and there is separate tycho-users mailing list to discuss development with Tycho (send email to tycho-users-subscribe@... to subscribe). -- Regards, Igor [1] https://docs.sonatype.org/display/M2ECLIPSE/Tycho+project+overview [2] http://svn.sonatype.org/m2eclipse/tycho/trunk/tycho-demo/itp01/tycho.demo.itp01/pom.xml [3] https://docs.sonatype.org/display/M2ECLIPSE/Tycho+build+target+platform+management nhcoder wrote: > Hi everyone, > > I searched on the web and this forum and found two links that were close to > what I was trying to do but didn't really get there. Basically I have an > Eclipse plugin that I wrote that I would like to mavenize. And just to get > the terminology right the plugin that I have written is a plugin that gets > plugged in to Eclipse and displays information about a web based file > repository. > > I installed Maven in Eclipse but never got the menu option that this link > talks about: > http://wiki.eclipse.org/Converting_Eclipse_Java_Project_to_Maven_Project > > And this one: > http://www.nabble.com/How-to-convert-or-use-a-Maven-project-as-a-dynamic-web-project--tt23430177.html#a23433354 > Which talks about a web project. > > So, is there any type of conversion tool that I can point to my plugin > project source code files and have it move the files and read dependencies > to create a pom.xml for me or am I going to have to tear it apart and > rebuild it from scratch? > > Thanks, > > Andy > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Converting Eclipse Plugin to Maven ProjectIgor,
Thanks for the response. I tried downloading the latest dev zip file and when I tried to unzip it I got the following error: End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file. Any ideas? Thanks, Andy |
|
|
Re: Converting Eclipse Plugin to Maven ProjectYou've got corrupt download somehow. Try to download the zip again, I am
quite certain the file is good on the server. -- Regards, Igor http://repository.sonatype.org/content/repositories/tycho-pseudo-releases/org/codehaus/tycho/tycho-distribution/0.4.0-DEV-3076/tycho-distribution-0.4.0-DEV-3076-bin.zip nhcoder wrote: > Igor, > > Thanks for the response. I tried downloading the latest dev zip file and > when I tried to unzip it I got the following error: > > End-of-central-directory signature not found. Either this file is not a Zip > file, or it constitutes one disk of a multi-part Zip file. > > > Any ideas? > > Thanks, > > Andy --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Converting Eclipse Plugin to Maven ProjectIgor,
That file is definitely corrupted. I tried it with the latest version of winzip. Do you have a different version? Thanks, Andy |
|
|
Re: Converting Eclipse Plugin to Maven ProjectAndy, I confirm the zip in NOT corrupted. Maybe try flushing your browser's cache or try d/ling it with another browser.
regards, Fred Bricon On Tue, Oct 13, 2009 at 4:25 PM, nhcoder <andrewnbenjamin@...> wrote:
|
|
|
Re: Converting Eclipse Plugin to Maven ProjectFred,
Thanks for the suggestion. Interestingly enough, IE 8 corrupts the file in the download whereas when I tried Firefox it managed to download the file properly. So as to not muddy up this particular forum I'll post any other questions in the tycho specific area. Thanks, Andy |
| Free embeddable forum powered by Nabble | Forum Help |