Quoting Elias Sinderson <[EMAIL PROTECTED]>:

> Hey now,
> 
> After using Maven for a week or so, I discovered the 'jbuilder' goal (!) 
> but executing 'maven jbuilder' generated an error stating that "A 
> JBuilder installation could not be found." Referring to the online 
> jbuilder plugin information, I attempted setting various properties 
> manually on the command line but only got the same error. Examining the 
> plugin.jelly script in 
> ~/.maven/plugins/maven-jbuilder-plugin-1.3-SNAPSHOT, it appears that the 
> value of jbDefaultProject is somehow null at runtime...
> 
> I do not see anywhere in the plugin.jelly script where this value is 
> set, so how can I get it to be something other than null? I attempted to 
> set it on the command line using -D, but this led to a 
> NullPointerException somewhere in jbuilder:generateProjectLibrary... 
>  :-(  Any assistance would be appreciated, as right now I'm not even 
> sure that anyone has gotten 'maven jbuilder' to work.
> 
> 
> Regards,
> Elias

I noticed this as well.  I think it's an old bug which has cropped up again.

Attached is both my own plugin.jelly for the jbuilder plugin, plus a new plugin
jar file.  It fixes the problem (though, you may need to add 
"maven.jbuilder.verbose=false" to your build.properties).  It also includes some
"extras" of my own, like directory nodes for src/ and xdocs/.  Some of this may
not work in earlier versions of JBuilder.

---
  jaaron      <http://jadetower.org>

Attachment: maven-jbuilder-plugin-1.3-SNAPSHOT.jar
Description: application/java

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to