Workspace default location

One Star

Workspace default location

Hi,
how can I tweak Talend to write it's project data to another location?
I searched the preferences, but didn't find anything suitable - and I currently don't dare to change the setting manually in all the files. Smiley Happy
Employee

Re: Workspace default location

You can choose the workspace location. But all projects must be in this workspace (wrong for imported projects).
To set this workspace location, edit "config.ini" file in "configuration" folder at root of Talend installation folder.
In this file you can use variable "osgi.instance.area" or "osgi.instance.area.default" to specify your workspace location.
For example:
osgi.instance.area=myOwnWorkspace

For more information see: http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-...
One Star

Re: Workspace default location

To set this workspace location, edit "config.ini" file in "configuration" folder at root of Talend installation folder.
In this file you can use variable "osgi.instance.area" or "osgi.instance.area.default" to specify your workspace location.

That option should be available through the Preferences dialog, don't you think?
Employee

Re: Workspace default location

In fact, preferences themselves are stored in metadata files in the workspace.
So the workspace must be set before application is launch.
One Star

Re: Workspace default location

Hi,
then the solution is obvious: On startup it should be possible to choose a default location, which can then - after the application successfully ran - modified using the .metadata resources - right? Smiley Happy
Employee

Re: Workspace default location

You're right, when you launch Eclipse (wich Talend is based on), you can specify a workspace.
After, that, you can move this workspace folder were you want on file system.
Then, on next launching, you must specify the location you moved it or another if you want to create a new workspace (or use another one).
This "many-workspace"/"workspace location specified by client" will be discussed.
I'll inform you of our position about this point.
Could you tell why you need this ?
One Star

Re: Workspace default location

Hi,
sure, I can. Smiley Happy
I am a self-employed developer and thus tend to work on my workstation in the office and with my notebook on other locations. As I don't want to shuffle media in order to synchronize all the stuff I am working on (my data partition has a size of 15 GB), I am using a synchronization software (SecondCopy).
My system setup is so sophisticated - Smiley Happy - that I separated the operating system, the programs and the data into three partitions in order to make selective synchronizations and backups.
This is why my programs and my project data are located at different locations and only the data partition is synchronized - which would leave talend without synchronization, if not tweaked through the config.ini.
HTH
One Star

Re: Workspace default location

I have the same need.
Why ?
Because I use Talend, Eclipse and several other development tools and wish to have an organised global workspace.
One Star

Re: Workspace default location

are there any news about this? As far as I noticed there is still no possibility to do this...
One Star

Re: Workspace default location

so many missing important features in talend, it s already v 6.1 , wtf?
Moderator

Re: Workspace default location

Hi phil123456,
What's the feature you are looking for? Feel free to post your issue and requirement into forum.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Workspace default location

Hi Team,
can anyone knows what is the below error :- 
Error occur during update,caused by bad update configuration in TAC.
java.lang.NullPointerException
at org.talend.core.tis.updatesite.NexusUpdateSiteManager.makeInstalledIuSingletonFrom(NexusUpdateSiteManager.java:448)
at org.talend.core.tis.updatesite.NexusUpdateSiteManager.installPatchesByP2(NexusUpdateSiteManager.java:388)
at org.talend.core.tis.updatesite.NexusUpdateSiteManager.installUpdateSite(NexusUpdateSiteManager.java:332)
at org.talend.core.tis.updatesite.NexusUpdateSiteManager.downLoadAndInstallUpdateSites(NexusUpdateSiteManager.java:282)
at org.talend.core.tis.service.CoreTisService.downLoadAndInstallUpdates(CoreTisService.java:339)
at org.talend.repository.ui.login.LoginProjectPage.updateStudio(LoginProjectPage.java:1003)
at org.talend.repository.ui.login.LoginProjectPage$18.widgetSelected(LoginProjectPage.java:951)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:315)
at org.talend.rcp.intro.Application.logUserOnProject(Application.java:409)
at org.talend.rcp.intro.Application.start(Application.java:117)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
One Star

Re: Workspace default location

Hi Team,
Could you please let me know how to resolve below error.
Error occur during update,caused by bad update configuration in TAC.
java.lang.NullPointerException
    at org.talend.core.tis.updatesite.NexusUpdateSiteManager.makeInstalledIuSingletonFrom(NexusUpdateSiteManager.java:448)
    at org.talend.core.tis.updatesite.NexusUpdateSiteManager.installPatchesByP2(NexusUpdateSiteManager.java:388)
    at org.talend.core.tis.updatesite.NexusUpdateSiteManager.installUpdateSite(NexusUpdateSiteManager.java:332)
    at org.talend.core.tis.updatesite.NexusUpdateSiteManager.downLoadAndInstallUpdateSites(NexusUpdateSiteManager.java:282)
    at org.talend.core.tis.service.CoreTisService.downLoadAndInstallUpdates(CoreTisService.java:339)
    at org.talend.repository.ui.login.LoginProjectPage.updateStudio(LoginProjectPage.java:1003)
    at org.talend.repository.ui.login.LoginProjectPage$18.widgetSelected(LoginProjectPage.java:951)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
    at org.eclipse.jface.window.Window.open(Window.java:808)
    at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:315)
    at org.talend.rcp.intro.Application.logUserOnProject(Application.java:409)
    at org.talend.rcp.intro.Application.start(Application.java:117)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Moderator

Re: Workspace default location

Hi Hariteja,
Could you please indicate on which build version you got this issue? Is there any more error message in TAC log?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.