Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Modify build.properties - tycho package plugin(Modify build.properties - tycho package plugin)
Modify build.properties - tycho package plugin [message #1832391] Thu, 17 September 2020 11:43 Go to next message
Pavel Zahariev is currently offline Pavel ZaharievFriend
Messages: 2
Registered: September 2020
Junior Member
As part of a maven build I need to overwrite the contents of build.properties file,
for example:
bin.includes = ...\some-ref-resource-1.2.3-SNAPSHOT.jar
should be changed to 1.2.4-SNAPSHOT.jar

The problem is that tycho plugin grabs the old version of the file very early in the life-cycle and my changes (even if I push them as early as in validation phase) are not taken into account.
Below stack is obtained before validation phase.

        at org.eclipse.tycho.core.osgitools.BuildPropertiesParserImpl.readProperties(BuildPropertiesParserImpl.java:86)
        at org.eclipse.tycho.core.osgitools.BuildPropertiesParserImpl.parse(BuildPropertiesParserImpl.java:66)
        at org.eclipse.tycho.core.osgitools.project.EclipsePluginProjectImpl.<init>(EclipsePluginProjectImpl.java:37)
        at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getEclipsePluginProject(OsgiBundleProject.java:275)
        at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readExecutionEnvironmentConfiguration(OsgiBundleProject.java:504)
        at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject(DefaultTychoResolver.java:93)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:90)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:264)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)


Re: Modify build.properties - tycho package plugin [message #1832406 is a reply to message #1832391] Thu, 17 September 2020 13:31 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31832
Registered: July 2009
Senior Member
It's best to ask on the Tycho User mailing list:

https://accounts.eclipse.org/mailing-list/tycho-user


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Modify build.properties - tycho package plugin [message #1832410 is a reply to message #1832406] Thu, 17 September 2020 13:46 Go to previous message
Pavel Zahariev is currently offline Pavel ZaharievFriend
Messages: 2
Registered: September 2020
Junior Member
Thanks
Previous Topic:I am facing trouble in opening Eclipse
Next Topic:Installation
Goto Forum:
  


Current Time: Thu Apr 15 00:19:36 GMT 2021

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

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

Back to the top