On 12/06/2010, at 8:18 AM, Alexis Tual wrote:
> Le 11 juin 2010 à 22:17, Henrique Prange a écrit :
>
>> On 11/06/10 13:24, Alexis Tual wrote:
>>> Hi list and maven guys,
>>>
>>> i'd like to add the CFBundleShortVersionString param in Info.plist 's
>>> maven built frameworks (mine and in wonder frameworks)
>>> Has anyone already done that ?
>>
>> You can create an Info.plist file in your resources folder and set the right
>> values using Maven filters. But this is not an option for Wonder frameworks.
>
> Yes and I think that the CFBundleShortVersionString should be set by default
> with the actual pom version.
+1.
> So when reading the sourcecode I thought i could put this in build.properties
> file (the maven goal uses the woapplication and woframework tasks) but it
> doesn't work with either ${version} or a constant (1.0.0)...
> But there's a wolifecycle.build.xml (in the maven-wolifecycle-plugin jar)
> that calls the ant tasks, i completed it :
> <woapplication name="${finalName}"
>
> frameworksBaseURL="/WebObjects/${finalName}.woa/Contents/Frameworks"
> startupScriptName="${artifactId}"
> stdFrameworks="false" destDir="target"
> customInfoPListContent="${customInfoPListContent}"
> principalClass="${principalClass}"
> cfBundleShortVersion="${version}">
> And it works ok now : the cfBundleShortVersion is set with the actual pom
> version.
> Do you think that change can be commited ?
Sounds like a good idea. Create a jira and attach your patch for
wolips/woproject (Components: WOLips Maven) and it shall be done :)
http://issues.objectstyle.org/
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]