• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maven build and CFBundleShortVersionString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maven build and CFBundleShortVersionString


  • Subject: Re: Maven build and CFBundleShortVersionString
  • From: Lachlan Deck <email@hidden>
  • Date: Sat, 12 Jun 2010 20:06:34 +1000

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Maven build and CFBundleShortVersionString
      • From: Alexis Tual <email@hidden>
References: 
 >Maven build and CFBundleShortVersionString (From: Alexis Tual <email@hidden>)
 >Re: Maven build and CFBundleShortVersionString (From: Henrique Prange <email@hidden>)
 >Re: Maven build and CFBundleShortVersionString (From: Alexis Tual <email@hidden>)

  • Prev by Date: Re: Maven build and CFBundleShortVersionString
  • Next by Date: database views and webobojects
  • Previous by thread: Re: Maven build and CFBundleShortVersionString
  • Next by thread: Re: Maven build and CFBundleShortVersionString
  • Index(es):
    • Date
    • Thread