• Index
  •  » Talend Open Studio for Data Integration » Component creation
  •  » [resolved] Keep the RCP preference when running Talend from SVN

#1 2011-01-20 17:13:56

boulayj
Member
Company: Ekito
Registered: 2008-08-29
Posts: 20
Website

[resolved] Keep the RCP preference when running Talend from SVN

Tags: [development, svn, tos]

Hi,

I would like to create a new Talend plugin used in a new component (like the Aspect selector for tAlfrescoOutput) . I've already downloaded the Talend SVN and set my Eclipse environment.
Talend is running perfectly from the source code.
But, each time I want to run Talend, all preferences are reset :
- the window for accepting the licence terms is displayed
- the registration window is displayed
- the repository must be reset by filling the email adress
- Internationalization and components locations preferences are lost

Is there any tips to avoid resetting this environment ?
I've tried to configure the "Run setup" in Eclipse in the configuration tab : I've unchecked the box : "Clear configuration area before launching"
In this case, I get the following error :

!SESSION 2011-01-20 17:10:00.368 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments:  -product org.talend.rcp.branding.tos.product
Command-line arguments:  -product org.talend.rcp.branding.tos.product -data /home/julien/Dev/Talend/Talend41-svn/../runtime-TOS -dev file:/home/julien/Dev/Talend/Talend41-svn/.metadata/.plugins/org.eclipse.pde.core/Talend Open Studio/dev.properties -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2011-01-20 17:10:02.150
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Cannot change the location once it is set.
    at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:134)
    at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:129)
    at org.eclipse.core.runtime.internal.adaptor.BasicLocation.setURL(BasicLocation.java:122)
    at org.talend.rcp.intro.Application.acquireWorkspaceLock(Application.java:199)
    at org.talend.rcp.intro.Application.start(Application.java:61)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.osgi 2 0 2011-01-20 17:10:02.527
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-01-20 17:10:02.527
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090925-1100 [259] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-20 17:10:02.527
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-20 17:10:02.527
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-20 17:10:02.527
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2011-01-20 17:10:02.527
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-01-20 17:10:02.527
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090925-1100 [261] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2011-01-20 17:10:02.527
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-01-20 17:10:02.528
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_981_R35x [262] was not resolved.

Best regards

Julien


Commitment is an act, not a word. - Jean-Paul Sartre
Ekito - IT solution architects and software developers
Follow us on Twitter
Contribute on Github

Offline

#2 2011-04-19 11:22:04

paulronane
Member
Registered: 2010-11-29
Posts: 20

Re: [resolved] Keep the RCP preference when running Talend from SVN

you need to set @nodefault in the runtime configuration....

Offline

#3 2011-04-19 12:13:41

boulayj
Member
Company: Ekito
Registered: 2008-08-29
Posts: 20
Website

Re: [resolved] Keep the RCP preference when running Talend from SVN

Hi Paul,

You're right: setting the @nodefault in the runtime configuration has fixed the problem.
To be more precise :
- In Eclipse, open the run configuration
- In "Main/Workspace Data/" set the "Location" field value to @noDefault


Commitment is an act, not a word. - Jean-Paul Sartre
Ekito - IT solution architects and software developers
Follow us on Twitter
Contribute on Github

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Component creation
  •  » [resolved] Keep the RCP preference when running Talend from SVN

Board footer

Powered by FluxBB