Bug 534578 - Build MAT 1.8 standalone packages with Eclipse Photon
Summary: Build MAT 1.8 standalone packages with Eclipse Photon
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 1.8.0   Edit
Assignee: Krum Tsvetkov CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks: 526830
  Show dependency tree
 
Reported: 2018-05-11 08:15 EDT by Krum Tsvetkov CLA
Modified: 2020-09-28 10:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krum Tsvetkov CLA 2018-05-11 08:15:42 EDT
The standalone packages we release are built on top of a pretty old version of the platform binaries.
I would like to provide the 1.8 MAT release on top of the latest - photon - binaries.
This brings the following changes with it:
- the minimum required Java version would be 1.8 - up to now we kept building against the older platform releases to allow for Java 1.7
- the list of supported platforms would be reduced to: http://download.eclipse.org/eclipse/downloads/drops4/S-4.8M7-201805092000/#PlatformRuntime . The following ones will be removed:
solaris.gtk.x86
solaris.gtk.sparc
aix.gtk.ppc
aix.gtk.ppc64
hpux.gtk.ia64
linux.gtk.ppc
linux.gtk.s390x
linux.gtk.s390
- There were recently a number of issues reported on Mac with our standalone packages. Using a newer Eclipse installation and installing the MAT plugins in it was the workaround most people did. I hope this issues will be resolver once we move to the latest platform binaries

I have some changes locally and will push them to Gerrit soon for evaluation.
Feedback on the introduced changes (see above) is wellcome.
Comment 1 Eclipse Genie CLA 2018-05-11 08:27:12 EDT
New Gerrit change created: https://git.eclipse.org/r/122477
Comment 2 Andrew Johnson CLA 2018-05-11 08:46:13 EDT
In mat.product, 
      <property name="osgi.requiredJavaVersion" value="1.6" />
should now be
      <property name="osgi.requiredJavaVersion" value="1.8" />
so a user gets an immediate error if not running with >=1.8
Comment 3 Krum Tsvetkov CLA 2018-05-18 07:50:33 EDT
I am planning to merge the changes soon, so that we have some time to test the new builds.
I would also want to use the tool that checks if everything we publish under downloads is properly covered by a CQ -> I would like to have snapshot builds published under downloads.

I added the requirement for 1.8 as requested.
I'll also update the pre-filled update side to point to photon.
Comment 5 Krum Tsvetkov CLA 2018-05-18 09:19:23 EDT
I also updated the snapshots page to reflect the change in supported platforms.
Comment 6 Andrew Johnson CLA 2018-05-21 05:34:02 EDT
The build worked once, but is now failing:

https://ci.eclipse.org/mat/job/tycho-mat-nightly/770/console
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.26.0:assemble-repository (default-assemble-repository) on project org.eclipse.mat.product: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.help.ui,4.1.100.v20180418-0908]: /jobs/genie.mat/tycho-mat-nightly/workspace/parent/../../.repository/org/eclipse/help/org.eclipse.help.ui/4.1.100-SNAPSHOT/org.eclipse.help.ui-4.1.100-SNAPSHOT-pack200.jar.pack.gz (No such file or directory) -> [Help 1]
Comment 7 Andrew Johnson CLA 2018-05-26 14:10:34 EDT
The Jenkins conguration change:
https://ci.eclipse.org/mat/job/tycho-mat-nightly/jobConfigHistory/showDiffFiles?timestamp1=2018-04-25_15-01-56&timestamp2=2018-05-18_10-08-42

# remove artifacts previously generated by us
rm -r ../../.repository/org/eclipse/mat/ || true

to

# remove artifacts previously generated by us
rm -r ../../.repository/org/eclipse/ || true

might just be responsible, and the build isn't getting the latest plugins.
The symptom in bug 512182 is similar - but the cause may be different

Perhaps upgrading Tycho version will help??

First try reverting the config change.
Comment 8 Eclipse Genie CLA 2018-05-26 15:24:36 EDT
New Gerrit change created: https://git.eclipse.org/r/123389
Comment 10 Andrew Johnson CLA 2018-05-26 15:42:00 EDT
Reverted Jenkins confiuration change, didn't help: 
https://ci.eclipse.org/mat/job/tycho-mat-nightly/778/console

Went back to new Jenkins configuration, then
upgrade to Tycho 1.1.0, didn't help:
https://ci.eclipse.org/mat/job/tycho-mat-nightly/779/console

[INFO] --- tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) @ org.eclipse.mat.product ---
[WARNING] Mirror tool: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.help.ui,4.1.100.v20180418-0908]

...

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project org.eclipse.mat.product: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.help.ui,4.1.100.v20180418-0908]: /jobs/genie.mat/tycho-mat-nightly/workspace/parent/../../.repository/org/eclipse/help/org.eclipse.help.ui/4.1.100-SNAPSHOT/org.eclipse.help.ui-4.1.100-SNAPSHOT-pack200.jar.pack.gz (No such file or directory) -> [Help 1]
Comment 11 Andrew Johnson CLA 2018-05-26 16:32:34 EDT
Tried a local Maven build - it worked, so not sure what the problem is.

Try wiping Jenkins workspace, and doing a build.
Comment 12 Eclipse Genie CLA 2018-05-26 17:15:51 EDT
New Gerrit change created: https://git.eclipse.org/r/123393
Comment 14 Eclipse Genie CLA 2018-05-26 17:45:52 EDT
New Gerrit change created: https://git.eclipse.org/r/123397
Comment 16 Eclipse Genie CLA 2018-05-27 05:46:13 EDT
New Gerrit change created: https://git.eclipse.org/r/123401
Comment 18 Andrew Johnson CLA 2018-05-27 13:12:37 EDT
Tried building against http://download.eclipse.org/releases/photon/201805191000

got a slightly different error: https://ci.eclipse.org/mat/job/tycho-mat-nightly/783/console
similar to https://ci.eclipse.org/mat/job/tycho-mat-nightly/783/console on 18 May 2018.

[INFO] --- tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) @ org.eclipse.mat.product ---
[WARNING] Mirror tool: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.equinox.jsp.jasper.registry,1.1.0.v20171221-2204]

...

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project org.eclipse.mat.product: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.equinox.jsp.jasper.registry,1.1.0.v20171221-2204]: /jobs/genie.mat/tycho-mat-nightly/workspace/parent/../../.repository/org/eclipse/equinox/org.eclipse.equinox.jsp.jasper.registry/1.1.0-SNAPSHOT/org.eclipse.equinox.jsp.jasper.registry-1.1.0-SNAPSHOT-pack200.jar.pack.gz (No such file or directory) -> [Help 1]

org.eclipse.equinox.jsp.jasper.registry

Tried another build with -e -X:

[DEBUG] Configuring mojo org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0, parent: sun.misc.Launcher$AppClassLoader@33909752]
[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository' with basic configurator -->
[DEBUG]   (f) compress = true
[DEBUG]   (f) createArtifactRepository = true
[DEBUG]   (f) includeAllDependencies = false
[DEBUG]   (f) keepNonXzIndexFiles = true
[DEBUG]   (f) project = MavenProject: org.eclipse.mat:org.eclipse.mat.product:1.8.0-SNAPSHOT @ /jobs/genie.mat/tycho-mat-nightly/workspace/org.eclipse.mat.product/pom.xml
[DEBUG]   (f) qualifier = 201805271659
[DEBUG]   (f) repositoryName = MAT RCP
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@69992afe
[DEBUG]   (f) xzCompress = true
[DEBUG] -- end configuration --
[WARNING] Mirror tool: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.equinox.jsp.jasper.registry,1.1.0.v20171221-2204]

...

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project org.eclipse.mat.product: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.equinox.jsp.jasper.registry,1.1.0.v20171221-2204]: /jobs/genie.mat/tycho-mat-nightly/workspace/parent/../../.repository/org/eclipse/equinox/org.eclipse.equinox.jsp.jasper.registry/1.1.0-SNAPSHOT/org.eclipse.equinox.jsp.jasper.registry-1.1.0-SNAPSHOT-pack200.jar.pack.gz (No such file or directory) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:1.1.0:assemble-repository (default-assemble-repository) on project org.eclipse.mat.product: Could not assemble p2 repository
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not assemble p2 repository
    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.execute (AssembleRepositoryMojo.java:147)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.eclipse.tycho.p2.tools.FacadeException: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.equinox.jsp.jasper.registry,1.1.0.v20171221-2204]
    at org.eclipse.tycho.p2.tools.mirroring.MirrorApplicationServiceImpl.checkStatus (MirrorApplicationServiceImpl.java:290)
    at org.eclipse.tycho.p2.tools.mirroring.MirrorApplicationServiceImpl.mirrorReactor (MirrorApplicationServiceImpl.java:161)
    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.execute (AssembleRepositoryMojo.java:144)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: java.io.FileNotFoundException: /jobs/genie.mat/tycho-mat-nightly/workspace/parent/../../.repository/org/eclipse/equinox/org.eclipse.equinox.jsp.jasper.registry/1.1.0-SNAPSHOT/org.eclipse.equinox.jsp.jasper.registry-1.1.0-SNAPSHOT-pack200.jar.pack.gz (No such file or directory)
    at java.io.FileInputStream.open0 (Native Method)
    at java.io.FileInputStream.open (FileInputStream.java:195)
    at java.io.FileInputStream.<init> (FileInputStream.java:138)
    at org.eclipse.tycho.repository.p2base.artifact.repository.ArtifactRepositoryBaseImpl.readRawArtifact (ArtifactRepositoryBaseImpl.java:376)
    at org.eclipse.tycho.repository.p2base.artifact.repository.ArtifactRepositoryBaseImpl.getRawArtifact (ArtifactRepositoryBaseImpl.java:369)
    at org.eclipse.tycho.repository.p2base.artifact.repository.AbstractArtifactRepository2.getRawArtifact (AbstractArtifactRepository2.java:331)
    at org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository.getRawOrNormalArtifact (CompositeArtifactRepository.java:368)
    at org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository.getRawArtifact (CompositeArtifactRepository.java:360)
    at org.eclipse.equinox.internal.p2.artifact.repository.RawMirrorRequest.getArtifact (RawMirrorRequest.java:84)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle (MirrorRequest.java:288)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer (MirrorRequest.java:223)
    at org.eclipse.equinox.internal.p2.artifact.repository.RawMirrorRequest.perform (RawMirrorRequest.java:52)
    at org.eclipse.equinox.p2.internal.repository.mirroring.Mirroring.downloadArtifact (Mirroring.java:225)
    at org.eclipse.equinox.p2.internal.repository.mirroring.Mirroring.mirror (Mirroring.java:180)
    at org.eclipse.equinox.p2.internal.repository.mirroring.Mirroring.run (Mirroring.java:111)
    at org.eclipse.equinox.p2.internal.repository.tools.MirrorApplication.mirrorArtifacts (MirrorApplication.java:213)
    at org.eclipse.equinox.p2.internal.repository.tools.MirrorApplication.run (MirrorApplication.java:195)
    at org.eclipse.tycho.p2.tools.mirroring.MirrorApplicationServiceImpl.mirrorReactor (MirrorApplicationServiceImpl.java:160)
    at org.eclipse.tycho.plugins.p2.repository.AssembleRepositoryMojo.execute (AssembleRepositoryMojo.java:144)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Comment 19 Eclipse Genie CLA 2018-05-28 06:41:08 EDT
New Gerrit change created: https://git.eclipse.org/r/123434
Comment 21 Andrew Johnson CLA 2018-05-28 17:12:15 EDT
I've also tried clearing the workspace, and restarting Jenkins.
Comment 22 Krum Tsvetkov CLA 2018-06-04 09:03:17 EDT
I managed to fix the build. Bug 500471 brought me to the idea that we probably need to cleanup the mvn repository.
For some reason I've put this one _outside the workspace_ , so this was the tricky part - as you tried deleting the workspace for the job the local mvn repo was not deleted.

This was probably a premature optimisation to "save" some build time. I guess we could very well live with a clean repo build for every change (it takes a bit longer to download 1/2 internet fist :) ). What do you think?
For now I just added a parameter to enable the deletion of the mvn repo, with "false" as default value.
We could also move the mvn .repository inside the workspace and use the build in mechanism to clean it. I can't remember any specific reason to have it outside.

Any preferences?
Comment 23 Eclipse Genie CLA 2018-06-26 07:38:24 EDT
New Gerrit change created: https://git.eclipse.org/r/125022
Comment 25 Eclipse Genie CLA 2018-06-29 10:36:30 EDT
New Gerrit change created: https://git.eclipse.org/r/125253
Comment 27 Andrew Johnson CLA 2018-06-29 11:01:51 EDT
I have reverted the Photon target to normal. 

I thought the temporary change was the cause of a build problem https://ci.eclipse.org/mat/job/tycho-mat-nightly/794/ but I think that was actually a web server problem - but the Photon target change still needed to be done.
Comment 28 Andrew Johnson CLA 2018-06-29 11:24:21 EDT
Re: comment 22 - I don't know enough about Jenkins and Maven to say what best practice is.

I think deleting the local Git repo was needed as otherwise the build did not check out the latest version of the code from the main Eclipse repo. 
That doesn't sound as though it would be the normal behaviour.

The mat-build-nightly build does have the Jenkins option: 
Delete workspace before build starts
which I added here https://ci.eclipse.org/mat/job/tycho-mat-nightly/jobConfigHistory/showDiffFiles?timestamp1=2018-04-25_14-59-47&timestamp2=2018-04-25_15-01-56

That might not be still needed if the delete in build script is enough.

You might have put the Maven cache outside the workspace so that it was shared between builds.
If the Maven cache were moved into the workspace then we would not want to delete the whole workspace each time.
Comment 29 Andrew Johnson CLA 2020-02-17 14:54:41 EST
I've got automated builds to run again:

Source Code Management
Repository URL: https://git.eclipse.org/r/mat/org.eclipse.mat.git
Credentials: - none -
Advanced
Name: origin
Refspec: +refs/heads/${GIT_FETCH_REFSPEC}:refs/remotes/origin/${GIT_FETCH_REFSPEC}
Comment 30 Krum Tsvetkov CLA 2020-09-28 10:02:39 EDT
Closing this one. We have release 1.10 already and it is based on Photon as requsted here.