[mevenide-dev] MIgration to hg.netbeans.org finished

"Milos Kleint" <[email protected]> Wed, 27 Aug 2008 22:01:08 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <[email protected]>
Hello,
I migrated the netbeans integration to hg.netbeans.org today :)
I've removed the netbeans sources from mevenide trunk. I kept the
NETBEANS_ORG2 branch and any other release branches.

the procedure for building shall be much simpler now.

hg clone http://hg.netbeans.org/main
ant -Dcluster.config=maven
ant -Dmoduleconfig=maven build-nbms


the first ant command shall build the complete IDE with the maven
support as well. after that you need to edit the
nbbuild/netbeans/etc/netbeans.clusters file and add a "maven1" line at
the end.
start the IDE by runnign "ant tryme"

the second ant command will create the maven modules nbm files under
nbbuild/nbms/maven1


The nbm files shall appear on daily build's update center soon (once
it gets built)

Regards

Milos

On Tue, Jul 22, 2008 at 3:55 PM, Milos Kleint <[email protected]> wrote:
> oh, and one more thing.
>
> I've uploaded the latest binaries of maven support at
> http://www.codehaus.org/~mkleint/maven1-SNAPSHOT.zip
>
> it will work only with the latest trunk of netbeans, downloadable here
> for example:
> http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/
>
> Milos
>
> On Tue, Jul 22, 2008 at 3:33 PM, Milos Kleint <[email protected]> wrote:
>> 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