Thanks for your suggestions Lachlang and Henrique.

Le 11 juin 2010 à 22:17, Henrique Prange a écrit :

> Hi Alexis,
> 
> 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.
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 ?


> 
>> If not, where can i find the source code
>> of maven-wolifecycle-plugin ?
>> 
> 
> You can find the the source code for WOProject Maven plug-ins here [1].
> 
> [1]https://svn.objectstyle.org/repos/woproject/trunk/woproject/maven2
> 
> Cheers,
> 
> Henrique
> 
>> Thanks for your answers
>> 
>> Alex
>> 
>> 
>> 
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
>> 
>> This email sent to hpra...@gmail.com
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com
> 
> This email sent to alexis.t...@gmail.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to