buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: Don't prepend the parent id to the subproject id
Date Mon, 24 Aug 2009 23:58:52 GMT
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 <rhett@detailedbalance.net>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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message