Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

Forum: Oomph
 Topic: Eclipse Oomph: Checkout a Tag instead of a Branch?
Re: Eclipse Oomph: Checkout a Tag instead of a Branch? [message #1733760 is a reply to message #1733717] Tue, 31 May 2016 13:20
Ed Merks is currently offline Ed MerksFriend
Messages: 27479
Registered: July 2009
Senior Member
Jeremie,

No, the code right now wants to create a local branch with the name in
the task.

On 31.05.2016 10:26, Jeremie Bresson wrote:
> Is it possible to checkout a tag instead of a Branch with Oomph?
>
> Context:
> We would like to have an Oomph Steam that does the checkout of the
> release commit (where the maven version is fixed to a fix version
> instead of the SNAPSHOT version we have in our branches). For the
> moment this commit is only marked with a TAG and not with an explicit
> branch.
>
> Thank you in advance.
>
Re: Eclipse Oomph: Checkout a Tag instead of a Branch? [message #1733772 is a reply to message #1733760] Tue, 31 May 2016 15:35
Eike Stepper is currently offline Eike StepperFriend
Messages: 6166
Registered: July 2009
Senior Member
Am 31.05.2016 um 15:20 schrieb Ed Merks:
> Jeremie,
>
> No, the code right now wants to create a local branch with the name in the task.
For future reference, this is the stack trace:

Setting autocrlf = true
Adding push ref spec: refs/notes/*:refs/notes/*
Adding push ref spec: HEAD:refs/for/releases/1.3.0
Creating local branch releases/1.3.0
java.lang.Exception: org.eclipse.jgit.api.errors.RefNotFoundException: Ref refs/remotes/origin/releases/1.3.0 can not be
resolved
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:821)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3037)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:2980)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4176)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4170)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4168)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2971)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2946)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2857)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:555)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:681)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.jgit.api.errors.RefNotFoundException: Ref refs/remotes/origin/releases/1.3.0 can not be resolved
at org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:282)
at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:135)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.createBranch(GitCloneTaskImpl.java:1119)
at org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:760)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3037)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:2980)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4176)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4170)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4168)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2971)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2946)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2857)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:555)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:681)
... 1 more

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
 Topic: Maven import task not starting with startup trigger
Re: Maven import task not starting with startup trigger [message #1733769 is a reply to message #1733270] Tue, 31 May 2016 14:48
Leo Betz is currently offline Leo BetzFriend
Messages: 2
Registered: May 2016
Junior Member
Hello Ed,

ok I see. So my problem is different:
The Maven Import Task is running.
But it skips projects that already exist in the workspace.
Of course, at least the root project exists after the project set import task. And so no maven nature is configured for that project.
What I need is a way to have the same final result as if I choose "Check out as Maven Project..." in SVN perspective.

Leo
Re: Maven import task not starting with startup trigger [message #1733775 is a reply to message #1733769] Tue, 31 May 2016 15:57
Ed Merks is currently offline Ed MerksFriend
Messages: 27479
Registered: July 2009
Senior Member
Leo,

But the Maven import task itself does things like create the .project
file, so I'm not sure that makes sense in such a case. And of course
without specialized SVN integration, we can't replicate this "Check out
action"...


On 31.05.2016 16:48, Leo Betz wrote:
> Hello Ed,
>
> ok I see. So my problem is different:
> The Maven Import Task is running.
> But it skips projects that already exist in the workspace.
> Of course, at least the root project exists after the project set
> import task. And so no maven nature is configured for that project.
> What I need is a way to have the same final result as if I choose
> "Check out as Maven Project..." in SVN perspective.
>
> Leo
 Topic: xtext create custom import wizard
xtext create custom import wizard [message #1733776] Tue, 31 May 2016 16:03
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 50
Registered: April 2016
Member
Hi,

Can anybody tell me how to create custom import wizard in xtext?

I want to import my own lib file. When I import a lib file I want to place extracted files from lib file should place in some folder in my project.



Current Time: Tue May 31 16:14:50 GMT 2016

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

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