On 04/29/2011 03:18 PM, Carlucci, Tony wrote:
Sure, will do about the documentation.  Just let me know when you've setup the 
page (or if it already exists I can add it now).

I did start down the path of trying to do Netbeans hot-deploy but was running 
into issues (this is usually my preferred Netbeans setup).  I decided to take a 
step back and just try it with cargo and it worked very easily.  I may revisit 
hot deploy again since that is my preferred way of developing.

Cool!

I'm not using Netbeans but I know others who do.

Can you check in your netbeans custom cargo:start configuration?
If you put it in a separate profile, everyone can run it using something like:

 $ mvn cargo:start -P netbeans

About maven profiles, see:

  http://maven.apache.org/guides/introduction/introduction-to-profiles.html

As an example, adding something like below to the portal pom.xml should work:

  <profiles>
    <profile>
      <id>netbeans</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.cargo</groupId>
            <artifactId>cargo-maven2-plugin</artifactId>
            <configuration>
              <!-- insert/override your custom netbeans config -->
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>


---
Anthony Carlucci | SW App Dev Eng, Sr. | R501 / KW App Development&  Maint
e: [email protected] | v: 781.271.2432 | f: 781.271.3299
The MITRE Corporation | 202 Burlington Rd | Bedford, MA 01730-1420

-----Original Message-----
From: Ross Gardler [mailto:[email protected]]
Sent: Friday, April 29, 2011 9:14 AM
To: [email protected]
Subject: Re: Rave / Netbeans

Once I find the time to implement Ate's instructions I'll be documenting them 
on the site. Would be great if you added Netbeans instructions.

One question, does netveanscgice you hot-deploy in this setup bibdoubt it if 
you are using cargo.

Sent from my mobile device.

On 29 Apr 2011, at 14:09, "Carlucci, Tony"<[email protected]>  wrote:

I'll probably be speaking to myself in this conversation but...

... I've got Rave up and running integrated with Netbeans 7, quite easily actually.  
Almost out-of-the box with only one settings change - I had to create a new maven action 
for "cargo:start".  Once I did this, I can startup rave within my IDE 
environment simply, and also just as important, attach the debugger to it.  So if anyone 
has any interest in using Netbeans it integrates very nicely with our project with very 
little startup effort.

Tony

---
Anthony Carlucci | SW App Dev Eng, Sr. | R501 / KW App Development&  Maint
e: [email protected]<mailto:[email protected]>  | v: 781.271.2432 | f: 
781.271.3299
The MITRE Corporation | 202 Burlington Rd | Bedford, MA 01730-1420


Reply via email to