Developing Eclipse plugin with Maven
Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Developing Eclipse plugin with Maven
Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C.
Re: Developing Eclipse plugin with Maven
Thanks! -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Developing Eclipse plugin with Maven
BTW, what I'm developing is a relatively throwaway plugin for Mac Cocoa Eclipse to set the represented filename for the active editor in the associated window. This enables software such as DTerm, which provides a convenient terminal window, to correctly get the directory associated with the active file. I'm using DTerm because EGit/JGit aren't really complete yet and I need command-line git. If good support for git svn isn't built into EGit at some point, I'll probably always need DTerm. The current non-mavenized plugin is at http://github.com/khuxtable/eclipse-cocoa-set-represented-filename It works, but I want it mavenized. -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Developing Eclipse plugin with Maven
Change the names accordingly, but you should be able to drop this in and build with Maven 3: http://gist.github.com/453490 This won't work with Maven 2.x. On Jun 25, 2010, at 5:10 PM, Kathryn Huxtable wrote: BTW, what I'm developing is a relatively throwaway plugin for Mac Cocoa Eclipse to set the represented filename for the active editor in the associated window. This enables software such as DTerm, which provides a convenient terminal window, to correctly get the directory associated with the active file. I'm using DTerm because EGit/JGit aren't really complete yet and I need command-line git. If good support for git svn isn't built into EGit at some point, I'll probably always need DTerm. The current non-mavenized plugin is at http://github.com/khuxtable/eclipse-cocoa-set-represented-filename It works, but I want it mavenized. -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - What matters is not ideas, but the people who have them. Good people can fix bad ideas, but good ideas can't save bad people. -- Paul Graham
Re: Developing Eclipse plugin with Maven
Will this work with the released tycho (0.8.0) or does it need the 0.9.0-SNAPSHOT versions? -K On Jun 25, 2010, at 4:41 PM, Jason van Zyl wrote: Change the names accordingly, but you should be able to drop this in and build with Maven 3: http://gist.github.com/453490 This won't work with Maven 2.x. On Jun 25, 2010, at 5:10 PM, Kathryn Huxtable wrote: BTW, what I'm developing is a relatively throwaway plugin for Mac Cocoa Eclipse to set the represented filename for the active editor in the associated window. This enables software such as DTerm, which provides a convenient terminal window, to correctly get the directory associated with the active file. I'm using DTerm because EGit/JGit aren't really complete yet and I need command-line git. If good support for git svn isn't built into EGit at some point, I'll probably always need DTerm. The current non-mavenized plugin is at http://github.com/khuxtable/eclipse-cocoa-set-represented-filename It works, but I want it mavenized. -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - What matters is not ideas, but the people who have them. Good people can fix bad ideas, but good ideas can't save bad people. -- Paul Graham - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Developing Eclipse plugin with Maven
Okay, I answered that myself. (Yes.) -K On Jun 25, 2010, at 4:54 PM, Kathryn Huxtable wrote: Will this work with the released tycho (0.8.0) or does it need the 0.9.0-SNAPSHOT versions? -K On Jun 25, 2010, at 4:41 PM, Jason van Zyl wrote: Change the names accordingly, but you should be able to drop this in and build with Maven 3: http://gist.github.com/453490 This won't work with Maven 2.x. On Jun 25, 2010, at 5:10 PM, Kathryn Huxtable wrote: BTW, what I'm developing is a relatively throwaway plugin for Mac Cocoa Eclipse to set the represented filename for the active editor in the associated window. This enables software such as DTerm, which provides a convenient terminal window, to correctly get the directory associated with the active file. I'm using DTerm because EGit/JGit aren't really complete yet and I need command-line git. If good support for git svn isn't built into EGit at some point, I'll probably always need DTerm. The current non-mavenized plugin is at http://github.com/khuxtable/eclipse-cocoa-set-represented-filename It works, but I want it mavenized. -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - What matters is not ideas, but the people who have them. Good people can fix bad ideas, but good ideas can't save bad people. -- Paul Graham - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Developing Eclipse plugin with Maven
Okay, one more question: do the java sources have to be under src instead of src/main/java? If so, where do I put my site docs? -K On Jun 25, 2010, at 4:41 PM, Jason van Zyl wrote: Change the names accordingly, but you should be able to drop this in and build with Maven 3: http://gist.github.com/453490 This won't work with Maven 2.x. On Jun 25, 2010, at 5:10 PM, Kathryn Huxtable wrote: BTW, what I'm developing is a relatively throwaway plugin for Mac Cocoa Eclipse to set the represented filename for the active editor in the associated window. This enables software such as DTerm, which provides a convenient terminal window, to correctly get the directory associated with the active file. I'm using DTerm because EGit/JGit aren't really complete yet and I need command-line git. If good support for git svn isn't built into EGit at some point, I'll probably always need DTerm. The current non-mavenized plugin is at http://github.com/khuxtable/eclipse-cocoa-set-represented-filename It works, but I want it mavenized. -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - What matters is not ideas, but the people who have them. Good people can fix bad ideas, but good ideas can't save bad people. -- Paul Graham - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Developing Eclipse plugin with Maven
On Jun 25, 2010, at 6:36 PM, Kathryn Huxtable wrote: Okay, one more question: do the java sources have to be under src instead of src/main/java? Tycho obeys PDE metadata so however you created the accompanying build.properties file in PDE is what Tycho uses. So you can put it wherever you like. Just change the values in here: http://github.com/khuxtable/eclipse-cocoa-set-represented-filename/blob/master/build.properties from src/ to src/main/java if you want something more Maven-esque. If so, where do I put my site docs? -K On Jun 25, 2010, at 4:41 PM, Jason van Zyl wrote: Change the names accordingly, but you should be able to drop this in and build with Maven 3: http://gist.github.com/453490 This won't work with Maven 2.x. On Jun 25, 2010, at 5:10 PM, Kathryn Huxtable wrote: BTW, what I'm developing is a relatively throwaway plugin for Mac Cocoa Eclipse to set the represented filename for the active editor in the associated window. This enables software such as DTerm, which provides a convenient terminal window, to correctly get the directory associated with the active file. I'm using DTerm because EGit/JGit aren't really complete yet and I need command-line git. If good support for git svn isn't built into EGit at some point, I'll probably always need DTerm. The current non-mavenized plugin is at http://github.com/khuxtable/eclipse-cocoa-set-represented-filename It works, but I want it mavenized. -K On Jun 25, 2010, at 4:04 PM, Jason van Zyl wrote: Tycho. http://tycho.sonatype.org It's used to build M2Eclipse, Eclipse EGit, Eclipse Memory Analyzer, and Antlr IDE. Sources: http://github.com/sonatype/sonatype-tycho Integration tests specifically which shows how to build everything from plugins the products: http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/ On Jun 25, 2010, at 4:53 PM, Kathryn Huxtable wrote: Are there any *good* guides to building an Eclipse plugin using Maven, preferably in a way that allows it to be developed in Eclipse? I don't really have any dependencies other than standard Eclipse packages, but I want all the great lifecycle and site management tools that Maven supplies. I've seen: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html by Peter H. Petersen, and Sumit Gupta, of Princeton Softech, from 2006. I've also seen: https://cwiki.apache.org/UIMA/building-eclipse-plugins-with-maven-bundle-plugin-and-friends.html by Marshall Schor, from 2008. Are these reasonable? Is there something newer? The former is what you get when you search the eclipse site. It's pretty crude. -K - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - What matters is not ideas, but the people who have them. Good people can fix bad ideas, but good ideas can't save bad people. -- Paul Graham - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl - You are never dedicated to something you have complete confidence in. No one is fanatically shouting that the sun is going to rise tomorrow. They know it is going to rise tomorrow. When people are fanatically dedicated to political or religious faiths or any other kind of dogmas or goals, it's always because these dogmas or goals are in doubt. -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance