Grails Plugins

Include libraries into a jar in plugin project using Grails 2.0 not work

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows 7, Grails 2.0, JDK 1.6

Description

Scenario:

When I export the project plugin into a jar format, the libraries (lib directory) is not included in it.
However when I compile it into a zip format, it's included.

To reproduce:

  • Create a plugin project
  • Include library in lib directory
  • Package plugin in binary format
  • Drag created jar file into new project (Grails 2.0)
  • Run project
  • Try access to library Class from your plugin (Exception thrown: NoClassDefFoundError )

However, it's works fine with zip format.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: