Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Has anyone successfully built a RAP app using Maven Tycho?(Has anyone successfully built a RAP app using Maven Tycho?)
Has anyone successfully built a RAP app using Maven Tycho? [message #633446] Mon, 18 October 2010 04:01 Go to next message
Owen  is currently offline Owen Friend
Messages: 17
Registered: May 2010
Junior Member
Hi,

I am trying to build my RAP app (http://codefaces.org) using Maven Tycho (http://www.eclipse.org/tycho/documentation.php). But unfortunately the Maven p2 resolver doesn't download fragments (org.eclipse.rap.rwt.q07.xxx.jar) and the build fails.

I am wondering anyone has successfully built a RAP app using it.

Many thanks,
Owen

[Updated on: Mon, 18 October 2010 04:24]

Report message to a moderator

Re: Has anyone successfully built a RAP app using Maven Tycho? [message #633892 is a reply to message #633446] Tue, 19 October 2010 17:45 Go to previous messageGo to next message
Owen  is currently offline Owen Friend
Messages: 17
Registered: May 2010
Junior Member
I have figured it out a way to resolve fragments with Tycho by using the .target files ( http://software.2206966.n2.nabble.com/fragment-compilation-f ailure-td5238992.html#a5301998). But I am having issues when resolving RAP's runtime target platform (http://download.eclipse.org/rt/rap/1.3/runtime) using Tycho's p2 resovler. It pops up this error:

"A.PDE.Target.Platform Cannot be installed into the IDE [0.0.0]"

I know that this is a trick to prevent installation of the RAP runtime into the IDE. But I am wondering whether there is a way to work around with it and how the RAP tooling internally resolves its target platform by providing a bundle called "A.PDE.Target.Platform".

Is there any command line tool I can use to download my target platform defined in the .target files without resolving the dependencies?

Thanks,
Owen
Re: Has anyone successfully built a RAP app using Maven Tycho? [message #634599 is a reply to message #633892] Fri, 22 October 2010 11:50 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Owen,

maybe you could get more help on available tools on the p2 newsgroup.

I'm not sure if it helps, but you can also download the RAP Target
Components as a zip file on our project page.

However, if the "A.PDE.Target.Platform" hack [1] causes problems with
Tycho build, I'd like to ask you to report this as a bug. The hack was
not meant to be a final solution anyway.

Thanks, Ralf

[1] Bug 276000: [target] Prevent SDK features from being installed into
IDE, http://bugs.eclipse.org/276000

On Tue, 19 Oct 2010 13:45:37 -0400, Owen wrote:

> I have figured it out a way to resolve fragments with Tycho by using the
> .target files
> ( http://software.2206966.n2.nabble.com/fragment-compilation-f ailure-
td5238992.html#a5301998).
> But I am having issues when resolving RAP's runtime target platform
> (http://download.eclipse.org/rt/rap/1.3/runtime) using Tycho's p2
> resovler. It pops up this error:
>
> "A.PDE.Target.Platform Cannot be installed into the IDE [0.0.0]"
>
> I know that this is a trick to prevent installation of the RAP runtime
> into the IDE. But I am wondering whether there is a way to work around
> with it and how the RAP tooling internally resolves its target platform
> by providing a bundle called "A.PDE.Target.Platform".
>
> Is there any command line tool I can use to download my target platform
> defined in the .target files without resolving the dependencies?
>
> Thanks,
> Owen



--
Ralf Sternberg

Need professional support for RAP and RCP?
http://www.eclipsesource.com/support/

Twitter: http://twitter.com/eclipsesource
Blog: http://www.eclipsesource.com/blogs/
Re: Has anyone successfully built a RAP app using Maven Tycho? [message #635186 is a reply to message #634599] Mon, 25 October 2010 21:56 Go to previous message
Owen  is currently offline Owen Friend
Messages: 17
Registered: May 2010
Junior Member
Thanks Ralf. I think there is a ticket for this one already: https://bugs.eclipse.org/bugs/show_bug.cgi?id=309863. I think the problem is also related to Tycho not being able to support "slicer" in .target files: https://issues.sonatype.org/browse/TYCHO-477.

Ralf Sternberg wrote on Fri, 22 October 2010 07:50
Hi Owen,

maybe you could get more help on available tools on the p2 newsgroup.

I'm not sure if it helps, but you can also download the RAP Target
Components as a zip file on our project page.

However, if the "A.PDE.Target.Platform" hack [1] causes problems with
Tycho build, I'd like to ask you to report this as a bug. The hack was
not meant to be a final solution anyway.

Thanks, Ralf

[1] Bug 276000: [target] Prevent SDK features from being installed into
IDE, http://bugs.eclipse.org/276000

On Tue, 19 Oct 2010 13:45:37 -0400, Owen wrote:

> I have figured it out a way to resolve fragments with Tycho by using the
> .target files
> ( http://software.2206966.n2.nabble.com/fragment-compilation-f ailure-
td5238992.html#a5301998).
> But I am having issues when resolving RAP's runtime target platform
> (http://download.eclipse.org/rt/rap/1.3/runtime) using Tycho's p2
> resovler. It pops up this error:
>
> "A.PDE.Target.Platform Cannot be installed into the IDE [0.0.0]"
>
> I know that this is a trick to prevent installation of the RAP runtime
> into the IDE. But I am wondering whether there is a way to work around
> with it and how the RAP tooling internally resolves its target platform
> by providing a bundle called "A.PDE.Target.Platform".
>
> Is there any command line tool I can use to download my target platform
> defined in the .target files without resolving the dependencies?
>
> Thanks,
> Owen



--
Ralf Sternberg

Need professional support for RAP and RCP?
http://www.eclipsesource.com/support/

Twitter: http://twitter.com/eclipsesource
Blog: http://www.eclipsesource.com/blogs/

[Updated on: Mon, 25 October 2010 21:57]

Report message to a moderator

Previous Topic:RCP and RAP single-sourcing
Next Topic:The scroolbar of TreeViewer does jump to the TreeItem in deep levels
Goto Forum:
  


Current Time: Thu Apr 25 16:28:45 GMT 2024

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

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

Back to the top