This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206595

Summary: build target is incorrect for Grails plugins
Product: groovy Reporter: athompson <athompson>
Component: GrailsAssignee: Martin Janicek <mjanicek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description athompson 2011-12-20 18:03:11 UTC
Trying to build Grails plugin projects yields an error because it tries to run the "war" target.  The "war" target is correct for building Grails apps but not Grails plugins.  The build target for plugins should probably be "package-plugin" or "install-plugin".  I marked this as a P1 because there's currently no way you can do a build through Netbeans (although you can compile), and attempting to build causes unnecessary artifacts to be added to the project (since it tries to run the "war" target).

I'm using Grails 2.0, but I believe the problem is the same for previous versions.
Comment 1 Martin Janicek 2011-12-29 16:48:03 UTC
How did you create Grails plugin project at the first place? Could you provide some dummy plugin project or a set of steps, so I'll be able to reproduce the issue? It seems to me more like a missing feature than a bug in the current code.
Comment 2 Martin Janicek 2012-01-06 14:16:13 UTC

*** This bug has been marked as a duplicate of bug 179547 ***