Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PDE - change qualifier
PDE - change qualifier [message #317668] Wed, 11 July 2007 11:05 Go to next message
Eclipse UserFriend
Hello,
this is a question about plug-in deployement and Im not sure if I'm in the
right newsgroup.

During a build of a feature I use the "qualifier" for version numbering.
The "qualifier" is replaced by YYYYMMDDHHMM. I'd like to change it so it
doesn't append hours and minutes to the version number i.e. YYYYMMDD.

Where can I do this ?

Thank you,
Tex.
Re: PDE - change qualifier [message #317678 is a reply to message #317668] Wed, 11 July 2007 14:23 Go to previous messageGo to next message
Eclipse UserFriend
Tex,
If you are using map files to fetch your features out of cvs (or some other
repository) then the Tag from the map files will be used in the qualifier.

If you are not doing that, there are 2 other ways to set the qualifier:
1) In the feature's build.properties, set qualifier=YYYYMMDD
2) In the build configuration build.properties set forceContextQualifier=YYYYMMDD

I would suggest method (2), which can also be achieved by adding
-DforceContextQualifier=YYYYMMDD to your command line

-Andrew
Tex Twil wrote:
> Hello,
> this is a question about plug-in deployement and Im not sure if I'm in
> the right newsgroup.
>
> During a build of a feature I use the "qualifier" for version numbering.
> The "qualifier" is replaced by YYYYMMDDHHMM. I'd like to change it so it
> doesn't append hours and minutes to the version number i.e. YYYYMMDD.
>
> Where can I do this ?
>
> Thank you,
> Tex.
>
Re: PDE - change qualifier [message #317702 is a reply to message #317678] Thu, 12 July 2007 03:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
yes my project is on a SVN server. Can you point me to this map file
'cos I dont really know what it is.

thanks,
Tex.

Andrew Niefer wrote:
> Tex,
> If you are using map files to fetch your features out of cvs (or some
> other repository) then the Tag from the map files will be used in the
> qualifier.
>
> If you are not doing that, there are 2 other ways to set the qualifier:
> 1) In the feature's build.properties, set qualifier=YYYYMMDD
> 2) In the build configuration build.properties set
> forceContextQualifier=YYYYMMDD
>
> I would suggest method (2), which can also be achieved by adding
> -DforceContextQualifier=YYYYMMDD to your command line
>
> -Andrew
> Tex Twil wrote:
>> Hello,
>> this is a question about plug-in deployement and Im not sure if I'm in
>> the right newsgroup.
>>
>> During a build of a feature I use the "qualifier" for version
>> numbering. The "qualifier" is replaced by YYYYMMDDHHMM. I'd like to
>> change it so it doesn't append hours and minutes to the version number
>> i.e. YYYYMMDD.
>>
>> Where can I do this ?
>>
>> Thank you,
>> Tex.
>>
Re: PDE - change qualifier [message #317759 is a reply to message #317702] Thu, 12 July 2007 10:17 Go to previous message
Eclipse UserFriend
There are some docs on fetching from a repository here:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. pde.doc.user/guide/tasks/pde_fetch_phase.htm

Note however, that SVN is not supported by default. There is however, an
extension point for other repos, and someone wrote an SVN plugin which you can
find here: (there may be others I don't know of)
http://sourceforge.net/projects/svn-pde-build/

The specific format of the map files for SVN will be dependent on that plug-in.

-Andrew


Tex Twil wrote:
> Hi,
> yes my project is on a SVN server. Can you point me to this map file
> 'cos I dont really know what it is.
>
> thanks,
> Tex.
>
> Andrew Niefer wrote:
>> Tex,
>> If you are using map files to fetch your features out of cvs (or some
>> other repository) then the Tag from the map files will be used in the
>> qualifier.
>>
>> If you are not doing that, there are 2 other ways to set the qualifier:
>> 1) In the feature's build.properties, set qualifier=YYYYMMDD
>> 2) In the build configuration build.properties set
>> forceContextQualifier=YYYYMMDD
>>
>> I would suggest method (2), which can also be achieved by adding
>> -DforceContextQualifier=YYYYMMDD to your command line
>>
>> -Andrew
>> Tex Twil wrote:
>>> Hello,
>>> this is a question about plug-in deployement and Im not sure if I'm
>>> in the right newsgroup.
>>>
>>> During a build of a feature I use the "qualifier" for version
>>> numbering. The "qualifier" is replaced by YYYYMMDDHHMM. I'd like to
>>> change it so it doesn't append hours and minutes to the version
>>> number i.e. YYYYMMDD.
>>>
>>> Where can I do this ?
>>>
>>> Thank you,
>>> Tex.
>>>
Previous Topic:Host bundle 'xxx.xxx.xxx.common' exists but is unresolved
Next Topic:Eclipse 3.3 starts Eclipse 3.2.2
Goto Forum:
  


Current Time: Sat May 10 12:31:46 EDT 2025

Powered by FUDForum. Page generated in 0.03431 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top