Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Maven RAP(RAP Target Platform)
Maven RAP [message #718235] Tue, 23 August 2011 16:57 Go to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
I am using maven to build my application. When i am uisng the
-Dtycho.targetPlatform=C:/dev/RAP/target_platform/eclipse
i am able to compile my applications if i remove all the dependencies from <eclipse installable>plugins.

The C:/dev/RAP/target_platform/eclipse
contains RAP Platform from http://eclipse.org/rap/downloads/..(See bottom at the link)

So how to resolve the dependencies to <eclipse installable>plugins

I tried another way..

i exported all the plugins from the eclipse installable directorry to local repository using
mvn eclipse:make-artifacts -DeclipseDir=C:\dev\sapphire-36\eclipse-3.6.1-rcp -DdeployTo=C:\apps\apache-maven-3.0\repo2

and then set the target files as
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="sapphire-e36">
<locations>
<location includeAllPlatforms="false" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.rap.runtime.sdk.feature.group" version="1.4.0.20110614-2335"/>
<repository location="http://download.eclipse.org/rt/rap/1.4/runtime"/>
</location>
<location includeAllPlatforms="false" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.rap.tooling.feature.group" version="1.4.0.20110601-1302"/>
<repository location="http://download.eclipse.org/rt/rap/1.4/tooling"/>
</location>
</locations>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
<nl>en_US</nl>
</environment>
<launcherArgs>
<vmArgs>-Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m</vmArgs>
</launcherArgs>
</target>

then i get the error
[INFO] [Software being installed: org.eclipse.rap.runtime.sdk.feature.group 1.4.0.20110614-2335, Missing requirement: org.eclipse.rap.runtime.sdk.feat
ure.group 1.4.0.20110614-2335 requires 'A.PDE.Target.Platform Cannot be installed into the IDE 0.0.0' but it could not be found]


So how to compile the application resolving the dependencies on the plugins from eclipse installable and RAP platform at the same time.

Re: Maven RAP [message #719013 is a reply to message #718235] Thu, 25 August 2011 19:26 Go to previous message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Guys ..How are you building your RAP app with

-tycho plugin
-using RAP 1.4.
-target definitions

How are you resolving the dependencies for the plugins/bundles present in your
-target platform
and
-eclipse installable directory.
simultaneously.

Please see my steps above in the previous message.

Any pointers...
Previous Topic:AbstractUIPlugin.getDialogSettings() scope
Next Topic:GlazedList and Rich Ajax Platform
Goto Forum:
  


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

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

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

Back to the top