[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] %featureName and other values not being resolved

Hi Andrew,

Please take a loog at bug 238573.

I've filled up this bug on June, 26th and I guess the issue you reported in your email has the same root cause of bug 238573.

If you have a chance, add some information there.

Thanks,
-- Euclides


On Thu, Jul 10, 2008 at 5:14 PM, Andrew Eisenberg <andrew@xxxxxxxxxxxx> wrote:
I am making a P2 updater site for AJDT. but I am running into some
issues.  It seems that the feature.properties file is not being used
in the content.jar.  And therefore %featureName, %copyright.
%description, etc, is being used instead of the proper values that are
inside feature.properties.

You can find the update site here:
http://download.eclipse.org/tools/ajdt/34/dev/update
The site works (i.e.- it is possible to download from it), but the
strings are not showing properly.

The relevant portion of the content.xml file is pasted below:

...
   <unit id='org.eclipse.ajdt.source.feature.jar' version='1.6.0.200807041530'>
     <update id='org.eclipse.ajdt.source.feature.jar'
range='[0.0.0,1.6.0.200807041530)' severity='0'/>
     <properties size='8'>
       <property name='org.eclipse.equinox.p2.name' value='%featureName'/>
       <property name='org.eclipse.equinox.p2.description'
value='%description'/>
       <property name='org.eclipse.equinox.p2.provider' value='%providerName'/>
       <property name='df_LT.featureName' value='Eclipse AspectJ
Development Tools Source Code'/>
       <property name='df_LT.copyright' value='Copyright (c) 2000,
2006 IBM Corporation and others.&#xA;All rights reserved. This program
and the accompanying materials&#xA;are made available under the terms
of the Eclipse Public License v1.0&#xA;which accompanies this
distribution, and is available
at&#xA;http://www.eclipse.org/legal/epl-v10.html&#xA;T'/>
       <property name='df_LT.providerName' value='Eclipse.org'/>
       <property name='df_LT.description' value='Eclipse AspectJ
Development Tools (AJDT) including the AspectJ compiler.'/>
...

As you can see, the variable org.eclipse.equinox.p2.name has a value
of %featureName, whereas the variable df_LT.featureName has the right
value.  This implies to me that the feature.properties file is being
found during metadata creation, but it is not being used everywhere.

Does anyone have any idea what is going on?

The version of org.eclipse.releng.basebuilder is from June 6.

thanks,
--a
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev