Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] CBI build fails for org.eclipse.equinox.region

----- Original Message -----
> From: "Thanh Ha" <thanh.ha@xxxxxxxxxxx>
> To: cbi-dev@xxxxxxxxxxx
> Sent: Monday, February 4, 2013 10:56:06 PM
> Subject: Re: [cbi-dev] CBI build fails for org.eclipse.equinox.region
> 
> Hi Lars,
> 
> You need to run "git submodule foreach git clean -fd" from the
> aggregator root directory to clean up the build working directories.
> 
> I'm not sure why but it seems the directories for the SWT components
> don't get cleaned up properly when the build fails at certain parts
> of
> the build. This causes the ant scripts for the SWT fragments to fail
> to
> build because it skips a step if some files that should have been
> cleaned up exist.

Hi Thanh and others,

In cases like that - one has to configure maven to know what to cleanup. Documentation available at http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html . If someone gives me a patch or at least a list of what needs to be removed I'll be happy to apply it to SWT so one can rely on the build system to really do clean.

Alexander Kurtakov
Red Hat Eclipse team

> 
> 
> Thanh
> 
> On 04/02/13 03:48 PM, Lars Vogel wrote:
> > Thanks John and Thanh,
> >
> > I tried today again and I received a different problem:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (normal) on
> > project org.eclipse.swt.gtk.linux.x86: An Ant BuildException has
> > occured:
> > /home/vogella/platformbuild/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/temp.folder/@dot.src/org
> > does not exist.
> > [ERROR] around Ant part ...<copy toDir="src/org/">... @ 11:26 in
> > /home/vogella/platformbuild/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86/target/antrun/build-main.xml
> > [ERROR] -> [Help 1]
> >
> > Any suggestion how to solve that?
> >
> > Best regards, Lars
> >
> > 2013/2/1 John Arthorne <John_Arthorne@xxxxxxxxxx>:
> >> These patches were waiting on us declaring Kepler M5 today. We
> >> have just
> >> declared M5 so these should get pushed very soon.
> >>
> >> John
> >>
> >>
> >>
> >>
> >> From:        Thanh Ha <thanh.ha@xxxxxxxxxxx>
> >> To:        cbi-dev@xxxxxxxxxxx,
> >> Date:        02/01/2013 02:55 PM
> >> Subject:        Re: [cbi-dev] CBI build fails for
> >> org.eclipse.equinox.region
> >> Sent by:        cbi-dev-bounces@xxxxxxxxxxx
> >> ________________________________
> >>
> >>
> >>
> >> I have an open Bug with patch for this issue [1]. There's actually
> >> another
> >> bundle org.eclipse.jdt.debug.tests with the same issue that I
> >> submitted a
> >> patch to as well [2].
> >>
> >> I hope someone with commit writes can push both in soon since the
> >> CBI build
> >> is failing at the moment.
> >>
> >>
> >> Thanh
> >>
> >> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=399435
> >> [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=399318
> >>
> >> On 01/02/13 02:48 PM, Lars Vogel wrote:
> >> Hi,
> >>
> >> If I run the current CBI Eclipse platform build, I get:
> >>
> >> ERROR] Failed to execute goal
> >> org.eclipse.tycho:tycho-packaging-plugin:0.17.0-SNAPSHOT:validate-version
> >> (default-validate-version) on project org.eclipse.equinox.region:
> >> Unqualified OSGi version 1.1.1.qualifier must match unqualified
> >> Maven
> >> version 1.1.0-SNAPSHOT for SNAPSHOT builds -> [Help 1]
> >>
> >> Checking the pom.xml and MANIFEST.MF shows that both version are
> >> different. Can someone with the rights commit the change for the
> >> pom.xml file?
> >>
> >> Change is required in the project:
> >> ./rt.equinox.bundles/bundles/org.eclipse.equinox.region
> >>
> >> Best regards, Lars
> >> _______________________________________________
> >> cbi-dev mailing list
> >> cbi-dev@xxxxxxxxxxx
> >> http://dev.eclipse.org/mailman/listinfo/cbi-dev
> >>
> >>
> >> _______________________________________________
> >> cbi-dev mailing list
> >> cbi-dev@xxxxxxxxxxx
> >> http://dev.eclipse.org/mailman/listinfo/cbi-dev
> >>
> >>
> >> _______________________________________________
> >> cbi-dev mailing list
> >> cbi-dev@xxxxxxxxxxx
> >> http://dev.eclipse.org/mailman/listinfo/cbi-dev
> >>
> > _______________________________________________
> > cbi-dev mailing list
> > cbi-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/cbi-dev
> >
> 
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cbi-dev
> 


Back to the top