The version of the plug-in I have was built on 11/10/08.  I am trying to
debug modules that plug into a 3rd party platform application.  I specified
the netbeans.installation parameter, however I was unsure of what to use for
the clusterbuilddir and userbuilddir parameters, so I did not specify them.
I had issues with the maven actions dialogue in the project properties
stripping quotation marks and removing backslashes if not enclosed in quotes
or escaped as well.  When properly formed, with only the
netbeans.installation parameter for the run-ide action, I get the following
error:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at
java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:770)
        at java.lang.StringBuffer.deleteCharAt(StringBuffer.java:382)
        at
org.codehaus.mojo.nbm.RunNetBeansMojo.execute(RunNetBeansMojo.java:118)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)

Is this related to the fact that several parameters that were specified as
required but were listed as having a default value were not passed?

Nathan

On Tue, Jan 20, 2009 at 12:05 PM, Milos Kleint <[email protected]> wrote:

> what version of the nbm-maven-plugin are you using?
> there's nbm:run-ide goal that should allow debugging as well.
> http://mojo.codehaus.org/nbm-maven-plugin/run-ide-mojo.html
>
> Milos
>
> On Tue, Jan 20, 2009 at 7:49 PM, Nathan Rice <[email protected]>
> wrote:
> > Hello,
> >
> > I would like to debug a maven netbeans module which plugs into a custom
> > platform application.  Can someone provide the action configuration to
> > accomplish this?
> >
> > Nathan
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to