Hi Antoine,

Checking my buildfile, the name of the parameter is actually "file" not "name". That's what I get for trying to answer from memory.

Rhett

On Aug 24, 2009, at 6:58 PM, Antoine Toulme wrote:

Looks like it doesn't work for jars:

package(:jar, :name =>
"org.eclipse.stp.bpmn.validation_#{project.version}.jar")

no such option: name
/Users/antoine/w/stp/org.eclipse.stp.bpmn/trunk/buildfile:33
/Library/Ruby/Gems/1.8/gems/buildr-1.3.4/lib/buildr/core/ application.rb:405:in
`raw_load_buildfile'
/Library/Ruby/Gems/1.8/gems/buildr-1.3.4/lib/buildr/core/ application.rb:218:in
`load_buildfile'
/Library/Ruby/Gems/1.8/gems/buildr-1.3.4/lib/buildr/core/ application.rb:213:in
`load_buildfile'

On Tue, Aug 25, 2009 at 00:38, Rhett Sutphin <[email protected] >wrote:

Hi Antoine,


On Aug 24, 2009, at 5:18 PM, Antoine Toulme wrote:

Hi all,
for plenty of good reasons, I use a parent project to organize my
projects.

However I am in dire need to not have the parent project id be prepended
to
the project id, and to the project produced artifacts, as they must match
the Eclipse standard for Eclipse plugins.

Here is my buildfile:

http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/buildfile

Is there a trick for this ?


Do you mean that you want the jar names not to include the prefix? For
wars I've done

package(:war, :name => "another-name.war")

I presume the same thing works for jars, too.

If you're looking to modify the task names, I don't know if that's
possible.

Rhett


Reply via email to