Skip to main content

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

Probably a relative/absolute path problem. If you run the build from the parent, maven will try to look for the p2.inf in the parent directory

Jeff MAURY

Le 7 janv. 2013 21:32, "Alex Kravets" <kravets.dev@xxxxxxxxx> a écrit :
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
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top