Develop on jGuard with Netbeans

Netbeans seems to be the best IDE for maven2 projects and modules, with the help of the mevenide plugin. follow the installation guide to install megenide on Netbeans.

define the svn repository

svnrepo_netbeans2.png

select the folder to checkout

svn_netbeans3.png

open the jguard master project

openproject.png

open the jguard modules

openmodule.png

resulting projects tree

projects.png

define the settings.xml

jguard needs to use a java 4 and a java 5 compiler to build its sources. to bound the variable defined in the related pom.xml files, you have to insert into your maven2 settings.xml(located into your ~/.m2 directory) file the corrresponding variables.

<?xml version="1.0" encoding="UTF-8"?>

<settings>



  <servers>

      <server>

      <id>jGuard-stable</id>

      <username>diabolo512</username>

      <password>mypwd</password>

    </server>

  </servers>

  <profiles>
    <profile>
      <id>default</id>
      <properties>
        <JAVA_4_HOME>/usr/lib/jvm/j2sdk1.4.2_13-32bits</JAVA_4_HOME>
        <JAVA_5_HOME>/usr/lib/jvm/jdk1.5.0_10</JAVA_5_HOME>
      </properties>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>default</activeProfile>
  </activeProfiles>
</settings>

launch the maven 2 build

press

F11
on the related project (or module)
Version 1.25 last modified by Charles Gay on 11/04/2007 at 23:44

Comments 0

No comments for this document

Attachments 5

Image
svn_netbeans3.png 1.1
PostedBy: Charles Gay on 10/04/2007 (133kb )
Image
svnrepo_netbeans2.png 1.1
PostedBy: Charles Gay on 10/04/2007 (104kb )
Image
openproject.png 1.1
PostedBy: Charles Gay on 10/04/2007 (125kb )
Image
projects.png 1.1
PostedBy: Charles Gay on 10/04/2007 (91kb )
Image
openmodule.png 1.1
PostedBy: Charles Gay on 10/04/2007 (98kb )
 

Creator: Charles Gay on 2007/04/10 22:35
jGuard team copyright 2004-2007
1.1.1