Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] updating p2.inf

Hello,

In p2.inf I have instructions to add repositories. URLs for
repositories need to change depending for which version of Eclipse I
am building (3.5, 3.7, etc). In POM of product feature I added the
following execution step:

<execution>
   <id>prepare-package</id>
   <phase>generate-source</phase>
   <configuration>
      <target>
         <replace file="p2.inf">
            <replacefilter token="@ECLIPSE.VERSION@"
value="${target-platform}" />
         </replace>
      </target>
   </configuration>
   <goals>
      <goal>run</goal>
   </goals>
</execution>

However, this does not update p2.inf. Can someone suggest correct way
of achieving what I am trying to do?

Thanks,
Alex


Back to the top