Hi Samuli,

Yes, it does work with a separate Maven2 install - that's what I was trying to 
say below, but it likely wasn't very clear. Sorry! If I use the embedded Maven 
plugin (3.0-SNAPSHOT) I have this issue, but if I install Maven separately 
(i.e. command line version, which is 2.2.1), then Netbeans uses this external 
Maven2 install and Netbeans works fine. I'll try to explain this better in the 
Wiki.

No, the wiki doesn't exist yet - I'll do my best to get it there this weekend 
(but I'm leaving town in an hour for a hockey tournament with my son's team, so 
I'll have to try to do this from a hotel room!).

Thanks,
... Russell




On Sat, Dec 12, 2009 03:43  AM, "[email protected]" 
<[email protected]> wrote:
> Hi,
> 
> I assume you're using Netbeans' maven2 integration module/plugin. A
> friend of mine noticed it can't handle all pom.xml that the "mvn"
> command-line tool can. And ALS pom.xml's are pretty complex. Could you
> try using Netbeans only for editing and plain "mvn" for building?
> 
> Have you added your Netbeans documentation to the wiki already?
> 
> Samuli
> 
> Btw. Thanks for all the hard work you've put into Netbeans + ALS. Being
> an IDE sceptic/fobic I appreciate it a lot :).
> 
> > I will, but first ... I tried to do a clean install, to make sure my
> > instructions for Netbeans are right - and with Release 6.8 my build is
> > failing, with the error log as follows,
> > /[ERROR]The following mojo parameter cannot be configured:
> > [ERROR]Uneditable parameter:
> > [ERROR]Name: packaging
> > [ERROR]Alias: null
> > [ERROR]in mojo:
> > [ERROR]Group-Id: org.apache.maven.plugins
> > [ERROR]Artifact-Id: maven-install-plugin
> > [ERROR]Version: 2.2
> > [ERROR]Mojo: install
> > [ERROR]brought in via: packaging: war
> > [ERROR]While building project:
> > [ERROR]Group-Id: com.adito
> > [ERROR]Artifact-Id: webapp
> > [ERROR]Version: 0.9.2-SNAPSHOT
> > [ERROR]From file:
> > C:\Users\rmorris\Documents\NetBeansProjects\nonembedded\webapp\pom.xml
> > [ERROR]Instead of configuring this parameter directly, try configuring
> > your POM or settings.xml file.
> > [ERROR]Using the default-value and expression annotations built into
> > the mojo itself, these values were found in your build:
> > [ERROR]Value: null
> > [ERROR]Using the expression:null
> > [ERROR]Value: null
> > [ERROR]Using the expression:null
> > [ERROR]If one of the above expressions rendered a valid value, it may
> > give some indication of which part of the POM or settings.xml you can
> > modify in order to change this parameter's value./
> >
> > I've tracked this down to one explicit plug-in, as follows (in webapp,
> > pom.xml),
> > /        <plugin>
> >             <groupId>org.apache.maven.plugins</groupId>
> >             <artifactId>maven-install-plugin</artifactId>
> >             <executions>
> >                 <execution>
> >                     <phase>install</phase>
> >                     <goals>
> >                         <goal>install-file</goal>
> >                     </goals>
> >                     <configuration>
> >                         <packaging>jar</packaging>
> >                         <artifactId>${project.artifactId}</artifactId>
> >                         <groupId>${project.groupId}</groupId>
> >                         <version>${project.version}</version>
> >                        
> > <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
> >                     </configuration>
> >                 </execution>
> >             </executions>
> >         </plugin>/
> >
> > A little more debugging, and I found it seems to be due to the Maven2
> > release embedded in NetBeans (3.0-SNAPSHOT), but with an install of
> > 2.2.1 this isn't an issue ... does this make sense? Do you have any
> > fixes for it?
> >
> > Also, with this fixed, and trying to debug Agent, I get the following
> > error when trying to start Agent (due to a missing dependency to
> > widgets?),
> > /1 [main] DEBUG com.adito.agent.client.Agent  - Failed to create SWT GUI
> > java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:169)
> >         at com.adito.agent.client.Agent.<init>(Agent.java:459)
> >         at com.adito.agent.client.Agent.initAgent(Agent.java:1619)
> >         at com.adito.agent.client.Agent.main(Agent.java:1426)
> > 5 [main] DEBUG com.adito.agent.client.Agent  - Failed to create JDK6 GUI
> > java.lang.ClassNotFoundException:
> > com.adito.agent.client.gui.awt.JDK6SystemTrayGUI
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:169)
> >         at com.adito.agent.client.Agent.<init>(Agent.java:477)
> >         at com.adito.agent.client.Agent.initAgent(Agent.java:1619)
> >         at com.adito.agent.client.Agent.main(Agent.java:1426)
> > 9 [main] DEBUG com.adito.agent.client.Agent  - Failed to create basic GUI
> > java.lang.ClassNotFoundException:
> > com.adito.agent.client.gui.awt.BasicFrameGUI
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:169)
> >         at com.adito.agent.client.Agent.<init>(Agent.java:512)
> >         at com.adito.agent.client.Agent.initAgent(Agent.java:1619)
> >         at com.adito.agent.client.Agent.main(Agent.java:1426)/
> >
> > Any suggestions for these two issues? After this I can get you the
> > information on the connection failure (to a 0.9.1 server).
> >
> > Thanks!
> >
> > ... Russell
> >
> >
> > On Thu, Dec 10, 2009 03:12 PM,
> > "[email protected]" <[email protected]> wrote:
> >
> >     Oh, 0.9.1 server _should: work just fine. I guess this is not the
> >     traffic redirection problem as I assume. Could you post the logs here?
> >
> >     Samuli
> >     >
> >     > Hi Samuli,
> >     >
> >     >
> >     >
> >     > OK, sounds good. I'll update the Wiki, and change the repository for
> >     > nanoxml.
> >     >
> >     >
> >     >
> >     > BTW, I stepped through Agent (in Netbeans), and it processes
> >     arguments
> >     > correctly, configures the Agent - but then fails on connect to the
> >     > server (even an existing 0.9.1 server). I'll leave this one to
> >     you, as
> >     > you suggest ... :-).
> >     >
> >     >
> >     >
> >     > Thanks,
> >     >
> >     > ... Russell
> >     >
> >     >
> >     >
> >     >
> >     >
> >     > On Thu, Dec 10, 2009 03:19 AM,
> >     > "[email protected] <[email protected]>"
> >     <[email protected] <[email protected]>> wrote:
> >     >
> >     > Hi Russell,
> >     >
> >     > Regarding nanoxml you asked about earlier... if another maven2
> >     > repository has it, we should probably use it. I'm assuming the Agent
> >     > fails to "synchronize" with the server. This is because external
> >     Jetty
> >     > does not yet know how to handle non-webapp request (e.g. connections
> >     > from the Agent). Please add the Netbeans documentation to the Wiki -
> >     > I'll follow the instructions and fix any issues. The world is
> >     already
> >     > full of misinformation so there's no point in trying to maintain too
> >     > high quality standards ;).
> >     >
> >     > I have not yet received any reply from [email protected]
> >     <%[email protected]>
> >     > <%[email protected] <%[email protected]>>
> >     regarding
> >     > the problem in "nonembedded". I'll have to verify if the mail went
> >     > through and if it did, start digging myself.
> >     >
> >     > Samuli
> >     >
> >     >
> >     > > Hi guys,
> >     > >
> >     > >
> >     > >
> >     > > Unfortunately I didn't receive any responses, but I did fix my
> >     > issue -
> >     > > by upgrading to Netbeans 6.8 RC2 (i.e. the newest release). I
> >     > can now
> >     > > fully compile, and run the debugger on Agent for example. It
> >     fails,
> >     > > but that seems to be a code issue, not related to the IDE (i.e. it
> >     > > can't connect to my server).
> >     > >
> >     > >
> >     > >
> >     > > As you requested Samuli, I'll add some information to the Wiki
> >     about
> >     > > how to get Netbeans working, but before I do - can I write it
> >     up and
> >     > > have you two test it out, to make sure I didn't miss any steps
> >     (i.e.
> >     > > to avoid leading folks astray)?
> >     > >
> >     > >
> >     > >
> >     > > Now we just need to get the nonembedded branch working ...
> >     :-). Any
> >     > > news on that BTW?
> >     > >
> >     > >
> >     > >
> >     > > Thanks,
> >     > >
> >     > > ... Russell
> >     > >
> >     > >
> >     > >
> >     > >
> >     > >
> >     > > On Tue, Dec 8, 2009 08:54 AM, <[email protected]
> >     <[email protected]>
> >     > <[email protected] <[email protected]>>> wrote:
> >     > >
> >     > >
> >     > > Hi!
> >     > >
> >     > >
> >     > >
> >     > > I have what is likely a dumb question, so I'm hoping someone can
> >     > > simply point me in the right direction - but let me explain where
> >     > > this comes from so some folks much more expert than myself can
> >     > > hopefully help out here!
> >     > >
> >     > >
> >     > >
> >     > > I am trying to get an IDE up and running for development, so to do
> >     > > this I have taken the embedded branch into Netbeans - and am able
> >     > > to buld the entire project without errors (with the test features
> >     > > disabled for now, as they have known issues). I was even able to
> >     > > start Agent in the debugger, with command line parameters, but
> >     > > this is where my trouble began ... :-(. Agent gives me an
> >     > > exception error, and after opening the agent.jar project, and then
> >     > > agent-swt.jar, it seems to be saying that the package
> >     > > com.adito.agent.client.util does not exist (so some imports /
> >     > > dependencies seem to be broken). Unfortunately I'm no Maven expert
> >     > > - do you have any ideas or suggestions here?
> >     > >
> >     > > I do see this dependency in Netbeans, as a library for agent-swt,
> >     > > but for some reason it's not recognizing it properly. In fact, if
> >     > > I try to reenter this import, and let Netbeans show me the options
> >     > > available to me, it seems to be saying that only gui exists
> >     > > underneath com.adito.agent.util ... does this make any sense?
> >     > >
> >     > > Thanks,
> >     > > ... Russell
> >     > >
> >     > >
> >     >
> >     
> > ------------------------------------------------------------------------------
> >     > > Return on Information:
> >     > > Google Enterprise Search pays you back
> >     > > Get the facts.
> >     > > http://p.sf.net/sfu/google-dev2dev
> >     >
> >     
> > <http://server:8080/redir.hsp?url=%68%74%74%70%3A%2F%2F%70%2E%73%66%2E%6E%65%74%2F%73%66%75%2F%67%6F%6F%67%6C%65%2D%64%65%76%32%64%65%76>
> >     > > <http://server
> >     >
> >     
> > <http://server:8080/redir.hsp?url=%68%74%74%70%3A%2F%2F%73%65%72%76%65%72>:8080/redir.hsp?url=%68%74%74%70%3A%2F%2F%70%2E%73%66%2E%6E%65%74%2F%73%66%75%2F%67%6F%6F%67%6C%65%2D%64%65%76%32%64%65%76>
> >     > > _______________________________________________
> >     > > Openvpn-als-devel mailing list
> >     > > [email protected]
> >     <%[email protected]>
> >     > <%20%20%20%20%[email protected]
> >     <%20%20%20%20%[email protected]>>
> >     > > <[email protected]
> >     <[email protected]>
> >     > <[email protected]
> >     <[email protected]>>>
> >     > > https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
> >     >
> >     
> > <http://server:8080/redir.hsp?url=%68%74%74%70%73%3A%2F%2F%6C%69%73%74%73%2E%73%6F%75%72%63%65%66%6F%72%67%65%2E%6E%65%74%2F%6C%69%73%74%73%2F%6C%69%73%74%69%6E%66%6F%2F%6F%70%65%6E%76%70%6E%2D%61%6C%73%2D%64%65%76%65%6C>
> >     > > <http://server
> >     >
> >     
> > <http://server:8080/redir.hsp?url=%68%74%74%70%3A%2F%2F%73%65%72%76%65%72>:8080/redir.hsp?url=%68%74%74%70%73%3A%2F%2F%6C%69%73%74%73%2E%73%6F%75%72%63%65%66%6F%72%67%65%2E%6E%65%74%2F%6C%69%73%74%73%2F%6C%69%73%74%69%6E%66%6F%2F%6F%70%65%6E%76%70%6E%2D%61%6C%73%2D%64%65%76%65%6C>
> >     > >
> >     >
> >     >
> >     >
> >     
> > ------------------------------------------------------------------------------
> >     > Return on Information:
> >     > Google Enterprise Search pays you back
> >     > Get the facts.
> >     > http://p.sf.net/sfu/google-dev2dev
> >     >
> >     
> > <http://server:8080/redir.hsp?url=%68%74%74%70%3A%2F%2F%70%2E%73%66%2E%6E%65%74%2F%73%66%75%2F%67%6F%6F%67%6C%65%2D%64%65%76%32%64%65%76>
> >     > _______________________________________________
> >     > Openvpn-als-devel mailing list
> >     > [email protected]
> >     <%20%20%20%20%[email protected]>
> >     > <[email protected]
> >     <[email protected]>>
> >     > https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
> >     >
> >     
> > <http://server:8080/redir.hsp?url=%68%74%74%70%73%3A%2F%2F%6C%69%73%74%73%2E%73%6F%75%72%63%65%66%6F%72%67%65%2E%6E%65%74%2F%6C%69%73%74%73%2F%6C%69%73%74%69%6E%66%6F%2F%6F%70%65%6E%76%70%6E%2D%61%6C%73%2D%64%65%76%65%6C>
> >     >
> >     >
> >     ------------------------------------------------------------------------
> >     >
> >     >
> >     
> > ------------------------------------------------------------------------------
> >     > Return on Information:
> >     > Google Enterprise Search pays you back
> >     > Get the facts.
> >     > http://p.sf.net/sfu/google-dev2dev
> >     >
> >     >
> >     ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > Openvpn-als-devel mailing list
> >     > [email protected]
> >     <%[email protected]>
> >     > https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
> >     >
> >
> >
> >     
> > ------------------------------------------------------------------------------
> >     Return on Information:
> >     Google Enterprise Search pays you back
> >     Get the facts.
> >     http://p.sf.net/sfu/google-dev2dev
> >     _______________________________________________
> >     Openvpn-als-devel mailing list
> >     [email protected]
> >     <[email protected]>
> >     https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
> >
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------------
> > Return on Information:
> > Google Enterprise Search pays you back
> > Get the facts.
> > http://p.sf.net/sfu/google-dev2dev
> >   
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Openvpn-als-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
> >   
> 
> 
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Openvpn-als-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
> 
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Openvpn-als-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel

Reply via email to