ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gintautas Grigelionis <g.grigelio...@gmail.com>
Subject Re: Jenkins Jobs of Ivy/IvyDE
Date Sun, 25 Jun 2017 18:28:45 GMT
2017-06-25 18:23 GMT+02:00 Nicolas Lalevée <nicolas.lalevee@hibnet.org>:

> > [2]: please check that unpacking of drops puts files into the correct
> > places (the contents should go into "features" and "plugins" directories
> of
> > PDE).
>
> I have done that already. I even checked that the placed in the plugins
> directory have the proper OSGi metadata. It is reproductible locally if you
> wish to debug and suggest a fix.
>
> Nicolas
>

I am sorry, my memory of what I was doing back in December is incorrect.
I guess I somehow updated
configuration/org.eclipse.equinox.simpleconfigurator/bundles.info or did
something else.
Luckily, there's a simpler way, the dropins should go into their own
special directory, which needs the following change

--- a/build.xml
+++ b/build.xml
@@ -555,11 +555,11 @@ You have to specify the Ivy to install with one of
the following property:
         <delete dir="${basedir}/dependencies/eclipse" failonerror="false"
/>
         <delete dir="${basedir}/dependencies/${eclipse.download.sdk.name}"
failonerror="false" />
         <unzip src="${basedir}/dependencies/${eclipse.download.sdk.name}.zip"
dest="${basedir}/dependencies/" />
-        <unzip src="${basedir}/dependencies/${eclipse.download.wtp.name}.zip"
dest="${basedir}/dependencies/" />
-        <unzip src="${basedir}/dependencies/${eclipse.download.emf.name}.zip"
dest="${basedir}/dependencies/" />
-        <unzip src="${basedir}/dependencies/${eclipse.download.xsd.name}.zip"
dest="${basedir}/dependencies/" />
-        <unzip src="${basedir}/dependencies/${eclipse.download.gef.name}.zip"
dest="${basedir}/dependencies/" />
-        <unzip src="${basedir}/dependencies/${eclipse.download.zest.name}.zip"
dest="${basedir}/dependencies/" />
+        <unzip src="${basedir}/dependencies/${eclipse.download.wtp.name}.zip"
dest="${basedir}/dependencies/eclipse/dropins" />
+        <unzip src="${basedir}/dependencies/${eclipse.download.emf.name}.zip"
dest="${basedir}/dependencies/eclipse/dropins" />
+        <unzip src="${basedir}/dependencies/${eclipse.download.xsd.name}.zip"
dest="${basedir}/dependencies/eclipse/dropins" />
+        <unzip src="${basedir}/dependencies/${eclipse.download.gef.name}.zip"
dest="${basedir}/dependencies/eclipse/dropins" />
+        <unzip src="${basedir}/dependencies/${eclipse.download.zest.name}.zip"
dest="${basedir}/dependencies/eclipse/dropins" />
         <move file="${basedir}/dependencies/eclipse"
tofile="${basedir}/dependencies/${eclipse.download.sdk.name}" />
     </target>

I don't understand why "jenkins-prepare" (neé "hudson-prepare") would skip
"download-ivy" (because "jenkins-install-ivy" sets ivy.jar.url to "" rather
than ${hudson.ivy.jar.url}) and fail?

Gintas

> 2017-06-25 16:57 GMT+02:00 Nicolas Lalevée <nicolas.lalevee@hibnet.org
> <mailto:nicolas.lalevee@hibnet.org>>:
> >
> >> Hi,
> >>
> >> I worked on the Jenkins jobs to make them work.
> >>
> >> There was some issues with job dependencies. Following the instructions
> >> there [1] worked.
> >> I have made the Ivy Job also build the snapshot-bin, like the nightly.
> >> Maybe now the nightly is redundant.
> >> I made the Ivy-checks build work, some https changed in favor of http.
> >> The test matrix is now separated into two builds now, since no Ant
> >> installation is common for both Windows and Ubuntu. They are both
> testing
> >> JDK7 and JDK8.
> >> The IvyDE job is no longer downloading Ivy’s jar via a hard coded http
> >> url. It is relying now on a plugin which copies artifacts around.
> >>
> >> There are still some error though, most probably not related to the
> >> Jenkins configuration:
> >> - the Windows build of Ivy is broken, the retrieve doesn’t work [2].
> >> - the IvyDE is failing to resolve the OSGi metadata of Ivy [3]. It is
> >> reproductible locally.
> >>
> >> I’ll look at the IvyDE updatesite job when the build of IvyDE will be
> >> fixed.
> >>
> >> Nicolas
> >>
> >> [1] https://cwiki.apache.org/confluence/display/INFRA/Job+Authorization
> <
> >> https://cwiki.apache.org/confluence/display/INFRA/Job+Authorization <
> https://cwiki.apache.org/confluence/display/INFRA/Job+Authorization>>
> >> [2] https://builds.apache.org/job/Ivy-tests-Windows/OS=Windows <
> https://builds.apache.org/job/Ivy-tests-Windows/OS=Windows>,
> >> jdk=JDK%201.7%20(latest)/2/console <https://builds.apache.org/ <
> https://builds.apache.org/>
> >> job/Ivy-tests-Windows/OS=Windows,jdk=JDK%201.7%20(latest)/2/console>
> >> [3] https://builds.apache.org/job/IvyDE/315/console <
> https://builds.apache.org/job/IvyDE/315/console> <
> >> https://builds.apache.org/job/IvyDE/315/console <
> https://builds.apache.org/job/IvyDE/315/console>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message