You just have to read exceptionally carefully.

If you're building OpenNMS and deploying it with the expectation of doing
so in a development capacity then you will likely be deploying it via the
target created when you assemble. If you're doing this on Windows the steps
are essentially the same for "deploying."

As a Windows developer I always install OpenNMS using the standard
installer and then I compile and assemble OpenNMS with an alternate
distribution directory. Basically just force it to use a specific path. In
Windows this will be the path you installed OpenNMS to. In Linux I tend to
keep my development separate from the system (where as the system installs
into /usr/share or whatever and I put development into /opt/opennms)

This is covered in the installation from source wiki article:

./assemble.pl -Ddist.dir=$PWD -Ddist.name=dist -Dbuild.profile=dir


Change $PWD for your installation path.

The a little later in the document it walks you through extracting this and
making it usable. It's basically the same - take the opennms tarball
produced by the assemble process and unpack it on top of your OpenNMS
installation. If you installed on Windows you don't need to worry about *
runjava* or *install* since they've already been run for you through the
installer. This is true if you're overwriting an existing installation on
Unix as well.

Assuming you've already installed OpenNMS once and are simply overwriting
the code the only time you need to run *install* is if you need to update
the database schema for some reason. Most people aren't making those kinds
of changes so the steps I described are sufficient.

I know that there's some deficiencies for Windows installations and for
Windows-based developers. The best thing to do is to open up tickets
regarding the 'sore points' for you so that when someone at The OpenNMS
Group or one of us in the community work on Windows-related stuff we have
some expectation of what real users want rather than just what is
convenient for us. The latter will likely be very different than the former
and probably a lot less substantial since we'll only scratch our own itch.

I hope this helps you guys out...

On Fri, Aug 3, 2012 at 3:36 AM, Cyrille Bollu <cyrille.bo...@gmail.com>wrote:

> >Deploy it.
>
> Well, that's the whole point here: On windows, once you have executed
> compile.pl and assemble.pl, you're on your own; There's nothing on the
> wiki for the next steps.
>
> According to the wiki (
> http://www.opennms.org/wiki/Installation:Source#Running_OpenNMS), the
> next steps consist of (1) installing the database, and (2) running opennms.
>
> Those steps use the install, runjava, and opennms scripts which are all
> UNIX scripts. And, I can't find how these steps have to be handled on
> Windows...
>
> Cyrille
>
>
> On Wed, Aug 1, 2012 at 12:01 PM, Markus Neumann <
> markusneumannmar...@googlemail.com> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Am Mi 01 Aug 2012 05:31:08 CEST schrieb alyaarrayyan:
>> > I was successfully imported opennms 1.10.4 as Maven Project to Eclipse
>> on
>> > Windows platform using http://opennms.org/wiki/Eclipse_and_OpenNMS.
>> >
>> > Can anyone guide me how
>> > 1) to run opennms project on jetty application server in eclipse
>> > 2) to debug opennms project in eclipse
>> >
>> > Thanks in advance.
>> > Alya
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://opennms.530661.n2.nabble.com/How-to-start-OpenNMS-in-debug-mode-tp7580603.html
>> > Sent from the OpenNMS - devel mailing list archive at Nabble.com.
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Live Security Virtual Conference
>> > Exclusive live event will cover all the ways today's security and
>> > threat landscape has changed and how IT managers can respond.
>> Discussions
>> > will include endpoint security, mobile security and the latest in
>> malware
>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> > _______________________________________________
>> > Please read the OpenNMS Mailing List FAQ:
>> > http://www.opennms.org/index.php/Mailing_List_FAQ
>> >
>> > opennms-devel mailing list
>> >
>> > To *unsubscribe* or change your subscription options, see the bottom of
>> this page:
>> > https://lists.sourceforge.net/lists/listinfo/opennms-devel
>>
>> Hello world,
>>
>> build your OpenNMS.
>> Deploy it.
>> Start it with something like .../opt/opennms/bin/opennms -t start
>> the -t parameter is the key to open an debugging port at 8001 or 8002
>> then connect your eclipse debugger to localhost:8001 / 8002
>> that is one setup
>> if you are just working on the webapp part you can use the runInPlace
>> script to start the webapp only.
>> The runInPlace script supports -t for debugging port too.
>>
>> Regards
>>
>> Markus
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQEcBAEBAgAGBQJQGP5iAAoJEJFt8t3uH6b9xBYIAI2wdvib9bgiAVqMg0kl1o/3
>> S5CY+5XLyCRSUSXpXgU0Kto/W0muw1sXtOp3Ih0iZvtc8CXwvTY8q12UMec1kU5q
>> nIm2Jc4+NustupWbOmkbjN3R14nLGR4KXqn3T7a3Svl+Jzi0BZA0MeK3Sg+boYMf
>> eYGCCgMs/1RiJUk+2PkDB95TCQAsIxPCoRA3ovR9MDO2P54spRt3DEKLDSqzSGLX
>> UT3WWpPI/tJgPP3XFAMQzN45zbWO0WLdFw9uZ6OVJGNn8kAdlxylqSIfn8k/BPHh
>> uEzuRXG9PWkEm5Smytzu6vnEd/uMHj7IvJGhKKy31kFS7sb6ilhX59arw8sF5oU=
>> =rUAv
>> -----END PGP SIGNATURE-----
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Please read the OpenNMS Mailing List FAQ:
>> http://www.opennms.org/index.php/Mailing_List_FAQ
>>
>> opennms-devel mailing list
>>
>> To *unsubscribe* or change your subscription options, see the bottom of
>> this page:
>> https://lists.sourceforge.net/lists/listinfo/opennms-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-devel mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel
>
> --
> Matt Raykowski
> /s
>
>  <https://lists.sourceforge.net/lists/listinfo/opennms-devel>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to