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 - build target is incorrect for Grails plugins
Summary: build target is incorrect for Grails plugins
Status: RESOLVED DUPLICATE of bug 179547
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 18:03 UTC by athompson
Modified: 2012-01-06 14:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***