[mevenide-dev] Re: migration ready sources
"Milos Kleint" <[email protected]> Tue, 22 Jul 2008 15:33:41 +0200
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.devel |
|---|---|
| Message-ID | <[email protected]> |
A few additions to make the build easier to do. On Mon, Jun 30, 2008 at 1:45 PM, Milos Kleint <[email protected]> wrote: > Hey, > > We've started to work on migration to netbeans.org. The migration is > happening on http://svn.codehaus.org/mevenide/branches/NETBEANS_ORG2/ > branch > the trunk is effectively closed. > > Currently we've refactored the sources and renames all packages to > org.netbeans.modules.maven.*, and converted the builds from maven to > ant. The most part is done and the projects are buildable and > runnable. > > Here are the steps to make the current source build: > > checkout/clone the netbeans.org trunk - hg.netbeans.org/main into a > directory named main/ All the maven modules should be residing under > main/ > go to the same directory and checkout svn > http://svn.codehaus.org/mevenide/branches/NETBEANS_ORG2/main where the > svn main shall be the same directory as the hg main. > That way the maven modules end up next to the other netbeans modules. > > Then apply the hg bundle - http://codehaus.org/~mkleint/maven.hgbundle > with additional changes to the hg repository. instead of the hgbundle, apply this simple patch (http://codehaus.org/~mkleint/maven-cluster.patch) to the repository. Please make sure you have the latest hg.netbeans.org/main sources if you have previously installed the hg bundle, create a clean clone again. > > optionally also add this section to your ~/.hgrc > [ui] > ignore = ~/mavenhgignore > > where ~/mavenhgignore looks like this: > http://codehaus.org/~mkleint/mavenhgignore > > This should allow you to build the netbeans ide along with the maven > support just by typing "ant" in the main/ directory. instead of plain ant, run ant -Dcluster.config=maven after building, edit nbbuild/netbeans/etc/netbeans.clusters and include the "maven1" cluster to the end of the list, alternatively (after build the ide I suppose) one can create nbm files for maven modules only by running ant -Dmoduleconfig=maven build-nbms Regards Milos > > Milos > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email