Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gyrex-dev] How to build gyrex locally?

Thanks for your information. After install the nightly PDE, things get better.

1. In my environment, to use git command to clone/fetch a target Repository, only http:// can support.
there will be errors like:
C:\SOFT\OSGI\gyrex\gyrex-releng\org.eclipse.gyrex.releng\builder/tmp/gitRepos/git___git_eclipse_org_gitroot_gyrex_gyrex_releng_git >> git fetch

BUILD FAILED

I just searched the temporary build file: C:\SOFT\OSGI\gyrex\gyrex-releng\org.eclipse.gyrex.releng\builder\tmp\work\retrieve.xml

		<antcall target="GitCloneRepoToLocalRepo">
<param name="gitRepo" value="git://git.eclipse.org/gitroot/gyrex/gyrex-releng.git"/> <param name="gitRepoLocalPath" value="${fetchCacheLocation}/git___git_eclipse_org_gitroot_gyrex_gyrex_releng_git"/>
		</antcall>

Here,  is there a way to use http:// instead of git:// to avoid the issue.
(I found even I updated the tmp file, when I execute the runInEclipse target again, the file recovered.)

2. When I use outside ant to build, errors occured too,
C:\SOFT\OSGI\gyrex\gyrex-releng\org.eclipse.gyrex.releng\builder\common\buildhel
pers.xml:121: Java returned: 1
       at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
       at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
       at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
       at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
       at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
       at org.apache.tools.ant.Task.perform(Task.java:348)
       at org.apache.tools.ant.Target.execute(Target.java:390)
       at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
       at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
       at org.apache.tools.ant.Main.runBuild(Main.java:809)
       at org.apache.tools.ant.Main.startAnt(Main.java:217)
       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)





--------------------------------------------------
From: "Gunnar Wagenknecht" <gunnar@xxxxxxxxxxxxxxx>
Sent: Thursday, November 08, 2012 2:35 PM
To: "iihero" <iihero@xxxxxxxxxxx>
Cc: "Gyrex project developer mailing list" <gyrex-dev@xxxxxxxxxxx>
Subject: Re: [gyrex-dev] How to build gyrex locally?

Am 08.11.2012 02:46, schrieb iihero:
This time I just used "runInEclipse" target in juno-rcp (eclipse4.2) to
build gyrex.
All the source code is the latest from the git repository.

So you only need the "releng" project. All source code will be cloned as
part of the build process. It won't use the source code in your workspace.

Could not retrieve feature.xml or build.properties for feature
org.eclipse.gyrex.features.master.

So it seems that it failed to clone the feature. I think it's because of
the missing Git Fetch Factory for PDE. That one has to be installed
separately into your Eclipse.

It can be installed from here:
http://download.eclipse.org/egit/pde/updates-nightly/

I'll add it to the build.

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/



Back to the top