One Star

Copy/Paste & Projects/Jobs

¤ Copy and paste of Talend component is impossible between two process of Talend which turn, Even the same or different versions.
¤ We can't call a job from another project, consequently we use one project for all our jobs.
Is it possible to add this remarks? :cool:

Thank you in advance .

Re: Copy/Paste & Projects/Jobs

¤ Copy and paste of Talend component is impossible between two process of Talend which turn, Even the same or different versions.

I think you mean that you run two TOS at the same time, then try to copy paste between each other.
And no, it's only possible to use the copy/paste between the same application. (in another job or in the same job)
If we allow the copy / paste from one application to another one, then we need to migrate the components if needed...
Between two applications, you will need to import / export a job (soon available), until the import / export job is available you will need to use the import / export project.
One Star

Re: Copy/Paste & Projects/Jobs

Hi nrousseau,
I can import an archived project with import / export project, but when i want use an other job situated in other project i can't import it
with the import / export job because it isnt added after that Smiley Sad
And for this i suggested if it's possible to allow Copy and paste between two TOS instances at the same time.

Thanks for your reply, and Good luck
One Star

Re: Copy/Paste & Projects/Jobs

Other remarks;
When i import an archived project, the routines which i created aren't added for this i use rarely import of projects.
One Star

Re: Copy/Paste & Projects/Jobs

When i import my archived projects sometimes i had this bugs,

java.lang.ClassCastException: org.talend.core.model.metadata.builder.connection.impl.ConnectionImpl cannot be cast to org.talend.core.model.metadata.builder.connection.DatabaseConnection
at org.talend.repository.ui.views.RepositoryContentProvider.addNode(
at org.talend.repository.ui.views.RepositoryContentProvider.convert(
at org.talend.repository.ui.views.RepositoryContentProvider.initialize(
at org.talend.repository.ui.views.RepositoryContentProvider.getElements(
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(
at org.eclipse.jface.viewers.TreeViewer.createChildren(
at org.eclipse.jface.viewers.AbstractTreeViewer$
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(
at org.eclipse.jface.viewers.ContentViewer.setInput(
at org.eclipse.jface.viewers.StructuredViewer.setInput(
at org.talend.repository.ui.views.RepositoryView.createPartControl(
at org.eclipse.ui.internal.ViewReference.createPartHelper(
at org.eclipse.ui.internal.ViewReference.createPart(
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(
at org.eclipse.ui.internal.PartPane.setVisible(
at org.eclipse.ui.internal.ViewPane.setVisible(
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(
at org.eclipse.ui.internal.PartStack.setSelection(
at org.eclipse.ui.internal.PartStack.showPart(
at org.eclipse.ui.internal.PartStack.createControl(
at org.eclipse.ui.internal.PartStack.createControl(
at org.eclipse.ui.internal.PartSashContainer.createControl(
at org.eclipse.ui.internal.PerspectiveHelper.activate(
at org.eclipse.ui.internal.Perspective.onActivate(
at org.eclipse.ui.internal.WorkbenchPage.onActivate(
at org.eclipse.ui.internal.WorkbenchWindow$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(
at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(
at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(
at org.eclipse.ui.internal.Workbench.access$10(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.ui.internal.Workbench.runStartupWithProgress(
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(
at org.eclipse.ui.internal.Workbench.init(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.core.internal.runtime.PlatformActivator$
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.core.launcher.Main.invokeFramework(
at org.eclipse.core.launcher.Main.basicRun(
at org.eclipse.core.launcher.Main.main(

So i can't view Repository :

One Star

Re: Copy/Paste & Projects/Jobs

Is there a way to copy jobs between projects?  Or do I have to export / import everytime?

Re: Copy/Paste & Projects/Jobs

There is a"copy to branch" feature available in Talend Enterprise Subscription Version which is based on SVN remote project.
Please take a look at document about:TalendHelpCenter:How to copy a Job to a branch
With Talend Open Studio Products, you have to export / import between projects.

Best regards
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.