Compare commits
34 Commits
codegen_ba
...
patch/TPS-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9d2715416 | ||
|
|
b0f6c747d4 | ||
|
|
7ea110dc3c | ||
|
|
fcad4148f5 | ||
|
|
ebe98a4d67 | ||
|
|
cd23062e30 | ||
|
|
5990df09b0 | ||
|
|
4f5b39d2da | ||
|
|
c9c9d4df22 | ||
|
|
9f4d4fc832 | ||
|
|
cc93b9959b | ||
|
|
94e2442e11 | ||
|
|
079ce620ab | ||
|
|
535af6359e | ||
|
|
0544da1147 | ||
|
|
bdb27eaf55 | ||
|
|
c4b9def853 | ||
|
|
9b31f616f7 | ||
|
|
3c8552e58c | ||
|
|
81f603037b | ||
|
|
3c9ff7e553 | ||
|
|
6611515bd6 | ||
|
|
66dfb4f0bf | ||
|
|
75b74d2c17 | ||
|
|
92e5a0801d | ||
|
|
62ce41a0e9 | ||
|
|
aa9c2b08b9 | ||
|
|
37c58a98cd | ||
|
|
9c31c2869d | ||
|
|
e91f8c1b5d | ||
|
|
6d16ec2e3e | ||
|
|
d5dfa732da | ||
|
|
49d093c671 | ||
|
|
0f3b302525 |
128
PATCH_RELEASE_NOTE.md
Normal file
128
PATCH_RELEASE_NOTE.md
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
---
|
||||||
|
version: 7.2.1
|
||||||
|
module: https://talend.poolparty.biz/coretaxonomy/42
|
||||||
|
product:
|
||||||
|
- https://talend.poolparty.biz/coretaxonomy/183
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# TPS-3495 <!-- mandatory -->
|
||||||
|
|
||||||
|
| Info | Value |
|
||||||
|
| ---------------- | ---------------- |
|
||||||
|
| Patch Name | Patch_20191017_TPS-3495_v1-7.2.1 |
|
||||||
|
| Release Date | 2019-10-17 |
|
||||||
|
| Target Version | 20190620\_1446-7.2.1 |
|
||||||
|
| Product affected | Talend Studio |
|
||||||
|
|
||||||
|
## Introduction <!-- mandatory -->
|
||||||
|
|
||||||
|
This patch is cumulative. It includes all previous generally available patches for Talend Studio 7.2.1.
|
||||||
|
|
||||||
|
**NOTE**: To download this patch, liaise with your Support contact at Talend.
|
||||||
|
|
||||||
|
## Fixed issues <!-- mandatory -->
|
||||||
|
|
||||||
|
This patch contains the following fixes:
|
||||||
|
|
||||||
|
- TPS-3495 [7.2.1] [tck:ADLSgen2] Short term solution for columns selector (TDI-43010)
|
||||||
|
|
||||||
|
This patch also includes the following patches:
|
||||||
|
- TPS-3489 [7.2.1] Build error with tRunJob on a spark job (TUP-24784)
|
||||||
|
- TPS-3476 [7.2.1] [20191018] Spark job fails on databricks when 'trim all' option is selected in the advanced settings of tFileInputDelimited component (TBD-9334)
|
||||||
|
- TPS-3460 [7.2.1] [20191101] "Invalid signature file digest for Manifest main attributes" Error with HD Insight Cluster (TBD-9289)
|
||||||
|
- TPS-3421 [7.2.1] Following TDI-42674, update dependency for Redshift database metadata (TUP-23960)
|
||||||
|
- TPS-3401 [7.2.1] JDBCInput component not working as expected when values as provided using context (TUP-24392)
|
||||||
|
- TPS-3449 [7.2.1] Route persists error even after resolving the issue(TESB-26300)
|
||||||
|
- TPS-3459 [7.2.1] Change Databricks API calls for Databricks 5.4 (TBD-9316)
|
||||||
|
- TPS-3413 [7.2.1] Default Context environment appended after migrating to 7.2.1 (TUP-24355)
|
||||||
|
- TPS-3429 [7.2.1][20190919] - ES6 support on tMatchIndex/tMatchIndexPredict (TDQ-16220)
|
||||||
|
- TPS-3336 [7.2.1] Improve Tck integration/installation/update in 7.2.1 (TUP-23106,TUP-23967,TUP-23264,TUP-23536,TUP-24226,TUP-24084)
|
||||||
|
- TPS-3402 [7.2.1] Build silently fails if Route calls a Routelet of different versions (TESB-26578)
|
||||||
|
- TPS-3422 [7.2.1] "java.lang.NoClassDefFoundError: org/talend/repository/services/model/services/ServiceItem" in studio(TESB-26856)
|
||||||
|
- TPS-3386 [7.2.1] Path in Textbox of "To archive file" is incomplete when building job (TUP-22646)
|
||||||
|
- TPS-3389 [7.2.1] Projects are switched to read only mode while reconnecting the session (TUP-24272)
|
||||||
|
- TPS-3387 [7.2.1] keyword "__TABLE__" not working for tJDBCxxxx components (TUP-24326)
|
||||||
|
- TPS-3406 [7.2.1] [Azure] Add Azure datacenter part of the studio connection
|
||||||
|
- TPS-3359 [7.2.1] JDBC metadata connection for Redshift when exported as context, unable to retrieve schema (TUP-24232)
|
||||||
|
- TPS-3323 [7.2.1] Error with cSplitter and jsonpath langage (TESB-26549)
|
||||||
|
- TPS-3383 [7.2.1] Jobs with tWindow not compiling in Spark Streaming Jobs - Studio 7.2.1 (TBD-9096)
|
||||||
|
- TPS-3374 [7.2.1] ERROR when Job in MDM project calling Job in Reference DI project:import routines.DataQuality cannot be resolved (TUP-23743)
|
||||||
|
- TPS-3291 [7.2.1] Rest Dataservice with Microservice build type fails with error LoggerFactory is not a Logback (TESB-26574)
|
||||||
|
- TPS-3303 [7.2.1] ESB - Docker Support for Microservices - CI Part (TESB-24597)
|
||||||
|
- TPS-3340 [7.2.1] Problem with Data Service Rest publishing (maven plugin) (TESB-26711)
|
||||||
|
- TPS-3334 [7.2.1] Snowflake components issue with cloud licence (TUP-24130)
|
||||||
|
- TPS-3243 [7.2.1] Backporting the support of Databricks 5.x and ADLS Gen 2 (TBD-7856) + Spark Batch fixes (TBD-8836, TBD-8850) + Configurable poll interval for Databricks job status (TBD-9006)
|
||||||
|
- TPS-3294 [7.2.1] Change security encryption of nexus (TUP-23087)
|
||||||
|
- TPS-3318 [7.2.1] Issue with nexus setup with cloud (TUP-24046)
|
||||||
|
- TPS-3287 [7.2.1] Cannot add more than 5 columns in tAggregateRow (TBD-8860)
|
||||||
|
- TPS-3273 [7.2.1] Error in calling spark job from trunjob job inside standard job (TUP-23950)
|
||||||
|
- TPS-3249 [7.2.1] Regression caused by TUP-21532 for ESB use case using tRunJob (TUP-23755)
|
||||||
|
- TPS-3263 [7.2.1] Studio changes in column order are not saved (no propagate changes dialog) (TUP-23809)
|
||||||
|
- TPS-3268 [7.2.1] ClassNotFoundException of the class of the job called by tRunJob in Routes (TESB-26048)
|
||||||
|
- TPS-3269 [7.2.1] [Java 11] Failures when publishing to cloud using CI (maven plugin) (TESB-26461)
|
||||||
|
- TPS-3270 [7.2.1] Duplicated libraries in private & import packages of the build manifest file (TESB-26293)
|
||||||
|
|
||||||
|
## Prerequisites <!-- mandatory -->
|
||||||
|
|
||||||
|
Consider the following requirements for your system:
|
||||||
|
|
||||||
|
- Talend Studio 7.2.1 must be installed.
|
||||||
|
- To make TPS-3340 or TPS-3269 totally work, please replace the cloudpublisher-maven-plugin-7.2.1.jar into "{Studio_Home}/configuration/.m2/repository/org/talend/ci/cloudpublisher-maven-plugin/7.2.1" from "repository/org/talend/ci/cloudpublisher-maven-plugin/7.2.1" in patch zip.
|
||||||
|
- To make TPS-3243 or TPS-3459
|
||||||
|
- In the "{Studio_Home}/configuration/config.ini" file, add the following entry:
|
||||||
|
,org.talend.hadoop.distribution.dbr540@start
|
||||||
|
- Clean the libraries installed on the Databricks cluster. To do this,
|
||||||
|
1. On the cluster side, click the "Libraries" tab and then select the check box to select all the libraries.
|
||||||
|
2. Click "Uninstall".
|
||||||
|
3. Restart the cluster.
|
||||||
|
- To make TPS-3269 totally work, please replace the cloudpublisher-maven-plugin-7.2.1.jar into "{Studio_Home}/configuration/.m2/repository/org/talend/ci/cloudpublisher-maven-plugin/7.2.1" from "repository/org/talend/ci/cloudpublisher-maven-plugin/7.2.1" in patch zip.
|
||||||
|
- To make TPS-3429 totally work when installing the patch using Commandline, Before starting the studio, need to delete the folder Configuration/org.eclipse.osgi
|
||||||
|
|
||||||
|
## Installation <!-- mandatory -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
- Detailed installation steps for the customer.
|
||||||
|
- If any files need to be backed up before installation, it should be mentioned in this section.
|
||||||
|
- Two scenarios need to be considered for the installation:
|
||||||
|
1. The customer has not yet installed any patch before => provide instructions for this
|
||||||
|
2. The customer had installed one previous cumulative patch => provide instructions for this
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Installing the patch for Cloud Studio
|
||||||
|
|
||||||
|
- If you want to fetch license from cloud Azure - USA West (for TPS-3406)
|
||||||
|
|
||||||
|
1) Open "{your_patch_zip}/plugins".
|
||||||
|
|
||||||
|
2) Open "{Studio_home}/configuration/org.talend.configurator/bundles.info".
|
||||||
|
|
||||||
|
3) CHANGE the version of org.talend.license.gui and org.talend.license.gui.talend in bundles.info(in the last two lines) TO the version of the jars in plugins.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
The jars in plugin folder of the patch zip are "org.talend.license.gui_7.2.1.20190909_1200_patch.jar" and "org.talend.license.gui.talend_7.2.1.20190909_1200_patch.jar",
|
||||||
|
MODIFY them in bundles.info file to "org.talend.license.gui,7.2.1.20190909_1200_patch,plugins/org.talend.license.gui_7.2.1.20190909_1200_patch.jar,4,false" and
|
||||||
|
"org.talend.license.gui.talend,7.2.1.20190909_1200_patch,plugins/org.talend.license.gui.talend_7.2.1.20190909_1200_patch.jar,4,false"
|
||||||
|
|
||||||
|
### Installing the patch using Software update <!-- if applicable -->
|
||||||
|
|
||||||
|
1) Logon TAC and switch to Configuration->Software Update, then enter the correct values and save referring to the documentation: https://help.talend.com/reader/f7Em9WV_cPm2RRywucSN0Q/j9x5iXV~vyxMlUafnDejaQ
|
||||||
|
|
||||||
|
2) Switch to Software update page, where the new patch will be listed. The patch can be downloaded from here into the nexus repository.
|
||||||
|
|
||||||
|
3) On Studio Side: Logon Studio with remote mode, on the logon page the Update button is displayed: click this button to install the patch.
|
||||||
|
|
||||||
|
### Installing the patch using Talend Studio <!-- if applicable -->
|
||||||
|
|
||||||
|
1) Create a folder named "patches" under your studio installer directory and copy the patch .zip file to this folder.
|
||||||
|
|
||||||
|
2) Restart your studio: a window pops up, then click OK to install the patch, or restart the commandline and the patch will be installed automatically.
|
||||||
|
|
||||||
|
### Installing the patch using Commandline <!-- if applicable -->
|
||||||
|
|
||||||
|
Execute the following commands:
|
||||||
|
|
||||||
|
1. Talend-Studio-win-x86_64.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 --talendDebug
|
||||||
|
2. initRemote {tac_url} -ul {TAC login username} -up {TAC login password}
|
||||||
|
3. checkAndUpdate -tu {TAC login username} -tup {TAC login password}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.abstractmap.nl</artifactId>
|
<artifactId>org.talend.designer.abstractmap.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.alfrescooutput.nl</artifactId>
|
<artifactId>org.talend.designer.alfrescooutput.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.business.diagram.nl</artifactId>
|
<artifactId>org.talend.designer.business.diagram.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.codegen.nl</artifactId>
|
<artifactId>org.talend.designer.codegen.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.components.exchange.nl</artifactId>
|
<artifactId>org.talend.designer.components.exchange.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.core.nl</artifactId>
|
<artifactId>org.talend.designer.core.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.dbmap.nl</artifactId>
|
<artifactId>org.talend.designer.dbmap.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.documentation.nl</artifactId>
|
<artifactId>org.talend.designer.documentation.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.fileoutputxml.nl</artifactId>
|
<artifactId>org.talend.designer.fileoutputxml.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.gefabstractmap.nl</artifactId>
|
<artifactId>org.talend.designer.gefabstractmap.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.mapper.nl</artifactId>
|
<artifactId>org.talend.designer.mapper.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.maven.job.nl</artifactId>
|
<artifactId>org.talend.designer.maven.job.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.rowgenerator.nl</artifactId>
|
<artifactId>org.talend.designer.rowgenerator.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.runprocess.nl</artifactId>
|
<artifactId>org.talend.designer.runprocess.nl</artifactId>
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ ProcessDebugDialog.errortext=Impossible de d\u00E9bugger le job.\\nV\u00E9rifiez
|
|||||||
ShadowProcess.notGeneratedOutputException=Sortie non g\u00E9n\u00E9r\u00E9e.
|
ShadowProcess.notGeneratedOutputException=Sortie non g\u00E9n\u00E9r\u00E9e.
|
||||||
ProcessComposite.contextGroup=Contexte
|
ProcessComposite.contextGroup=Contexte
|
||||||
prefs.clientConfiguration=Configuration du client Talend
|
prefs.clientConfiguration=Configuration du client Talend
|
||||||
ProcessComposite.endPattern=Le Job {0} s\'est termin\u00E9 \u00E0 {1,date,HH:mm dd/MM/yyyy}. [code de sortie={2,number}]
|
ProcessComposite.endPattern=Le Job {0} s'est termin\u00E9 \u00E0 {1,date,HH:mm dd/MM/yyyy}. [code de sortie={2,number}]
|
||||||
ProcessView.title=Ex\u00E9cuter({0})
|
ProcessView.title=Ex\u00E9cuter({0})
|
||||||
Processor.configurePerl=L'interpr\u00E9teur Perl n'est pas configur\u00E9.
|
Processor.configurePerl=L'interpr\u00E9teur Perl n'est pas configur\u00E9.
|
||||||
JavaProcessor.notFoundedFolderException=Dossier introuvable dans le projet .Java
|
JavaProcessor.notFoundedFolderException=Dossier introuvable dans le projet .Java
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.scd.nl</artifactId>
|
<artifactId>org.talend.designer.scd.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.webservice.nl</artifactId>
|
<artifactId>org.talend.designer.webservice.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.xmlmap.nl</artifactId>
|
<artifactId>org.talend.designer.xmlmap.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.expressionbuilder.nl</artifactId>
|
<artifactId>org.talend.expressionbuilder.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.presentation.onboarding.resource.nl</artifactId>
|
<artifactId>org.talend.presentation.onboarding.resource.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.presentation.onboarding.resource.tos.nl</artifactId>
|
<artifactId>org.talend.presentation.onboarding.resource.tos.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.repository.ftp.nl</artifactId>
|
<artifactId>org.talend.repository.ftp.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.repository.json.nl</artifactId>
|
<artifactId>org.talend.repository.json.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.repository.nl</artifactId>
|
<artifactId>org.talend.repository.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.repository.view.di.nl</artifactId>
|
<artifactId>org.talend.repository.view.di.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.sbi.engines.client.nl</artifactId>
|
<artifactId>org.talend.sbi.engines.client.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.spagic.engines.client.nl</artifactId>
|
<artifactId>org.talend.spagic.engines.client.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.sqlbuilder.nl</artifactId>
|
<artifactId>org.talend.sqlbuilder.nl</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.business.feature</artifactId>
|
<artifactId>org.talend.designer.business.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.feature</artifactId>
|
<artifactId>org.talend.designer.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.fragment.jars.di.feature</artifactId>
|
<artifactId>org.talend.fragment.jars.di.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.rcp.branding.tos.feature</artifactId>
|
<artifactId>org.talend.rcp.branding.tos.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.rcp.branding.tos.test.feature</artifactId>
|
<artifactId>org.talend.rcp.branding.tos.test.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.repository.feature</artifactId>
|
<artifactId>org.talend.repository.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.sbi.feature</artifactId>
|
<artifactId>org.talend.sbi.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.spagic.feature</artifactId>
|
<artifactId>org.talend.spagic.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.tos.components.feature</artifactId>
|
<artifactId>org.talend.tos.components.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.tos.core.feature</artifactId>
|
<artifactId>org.talend.tos.core.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.tos.feature</artifactId>
|
<artifactId>org.talend.tos.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.tos.libraries.feature</artifactId>
|
<artifactId>org.talend.tos.libraries.feature</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.abstractmap</artifactId>
|
<artifactId>org.talend.designer.abstractmap</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.alfrescooutput</artifactId>
|
<artifactId>org.talend.designer.alfrescooutput</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.business.diagram</artifactId>
|
<artifactId>org.talend.designer.business.diagram</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.codegen</artifactId>
|
<artifactId>org.talend.designer.codegen</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.components.exchange</artifactId>
|
<artifactId>org.talend.designer.components.exchange</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.components.libs</artifactId>
|
<artifactId>org.talend.designer.components.libs</artifactId>
|
||||||
|
|||||||
@@ -221,10 +221,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
String query_<%=cid%> = <%=query%>;
|
String query_<%=cid%> = <%=query%>;
|
||||||
String dataset = query_<%=cid%>.substring(query_<%=cid%>.indexOf("from") + 4, query_<%=cid%>.indexOf(".")).trim();
|
<% if(isLog4jEnabled) { %>
|
||||||
String temp_table = "temp_" + dataset + java.util.UUID.randomUUID().toString().replaceAll("-", "")
|
log.info("<%=cid%> - query " + <%=query%>);
|
||||||
+ "<%=cid%>".toLowerCase().replaceAll("[^a-z0-9]", "0").replaceAll("^[^a-z]", "a")
|
<% } %>
|
||||||
+ Integer.toHexString(java.util.concurrent.ThreadLocalRandom.current().nextInt());
|
|
||||||
|
|
||||||
com.google.cloud.bigquery.BigQuery bigquery_<%=cid%> = com.google.cloud.bigquery.BigQueryOptions.newBuilder()
|
com.google.cloud.bigquery.BigQuery bigquery_<%=cid%> = com.google.cloud.bigquery.BigQueryOptions.newBuilder()
|
||||||
.setCredentials(credentials_<%=cid%>)
|
.setCredentials(credentials_<%=cid%>)
|
||||||
@@ -234,24 +233,54 @@
|
|||||||
|
|
||||||
com.google.cloud.bigquery.QueryJobConfiguration.Builder queryConfiguration_<%=cid%> = com.google.cloud.bigquery.QueryJobConfiguration.newBuilder(<%=query%>).setUseLegacySql(<%=useLegacySql%>);
|
com.google.cloud.bigquery.QueryJobConfiguration.Builder queryConfiguration_<%=cid%> = com.google.cloud.bigquery.QueryJobConfiguration.newBuilder(<%=query%>).setUseLegacySql(<%=useLegacySql%>);
|
||||||
|
|
||||||
<%
|
<%if (resultSizeType.equals("LARGE") || resultSizeType.equals("AUTO")) {%>
|
||||||
if (resultSizeType.equals("LARGE") || resultSizeType.equals("AUTO")) {
|
|
||||||
%>
|
|
||||||
queryConfiguration_<%=cid%>.setDestinationTable(com.google.cloud.bigquery.TableId.of(dataset, temp_table)).setAllowLargeResults(true);
|
|
||||||
<%
|
|
||||||
}
|
|
||||||
%>
|
|
||||||
|
|
||||||
com.google.cloud.bigquery.JobId jobId_<%=cid%> = com.google.cloud.bigquery.JobId.of(java.util.UUID.randomUUID().toString());
|
com.google.cloud.bigquery.QueryJobConfiguration jobConfDryRun_<%=cid%> = queryConfiguration_<%=cid%> .setDryRun(true).build();
|
||||||
|
com.google.cloud.bigquery.Job jobDryRun_<%=cid%> = bigquery_<%=cid%>.create(com.google.cloud.bigquery.JobInfo.of(jobConfDryRun_<%=cid%>));
|
||||||
|
|
||||||
|
String queryLocation_<%=cid%> =jobDryRun_<%=cid%>.getJobId().getLocation();
|
||||||
|
String location_<%=cid%> = queryLocation_<%=cid%> == null ? "US" : queryLocation_<%=cid%>;
|
||||||
|
String tempDataset_<%=cid%> = java.util.UUID.randomUUID().toString().replaceAll("-", "")
|
||||||
|
+ Integer.toHexString(java.util.concurrent.ThreadLocalRandom.current().nextInt())
|
||||||
|
+ Integer.toHexString(java.util.concurrent.ThreadLocalRandom.current().nextInt());
|
||||||
|
String tempTable_<%=cid%> = java.util.UUID.randomUUID().toString().replaceAll("-", "")
|
||||||
|
+ Integer.toHexString(java.util.concurrent.ThreadLocalRandom.current().nextInt())
|
||||||
|
+ Integer.toHexString(java.util.concurrent.ThreadLocalRandom.current().nextInt());
|
||||||
|
<% if(isLog4jEnabled){ %>
|
||||||
|
log.info("<%=cid%> - query location :" + queryLocation_<%=cid%>);
|
||||||
|
log.info("<%=cid%> - temporary dataset location :" + location_<%=cid%>);
|
||||||
|
log.info("<%=cid%> - temporary Dataset name : " + tempDataset_<%=cid%>);
|
||||||
|
log.info("<%=cid%> - temporary table name : " + tempTable_<%=cid%>);
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
com.google.cloud.bigquery.DatasetInfo datasetInfo_<%=cid%> = com.google.cloud.bigquery.DatasetInfo.newBuilder(tempDataset_<%=cid%>).setLocation(location_<%=cid%>).build();
|
||||||
|
com.google.cloud.bigquery.Dataset dataset_<%=cid%> = bigquery_<%=cid%> .create(datasetInfo_<%=cid%>);
|
||||||
|
|
||||||
|
queryConfiguration_<%=cid%>
|
||||||
|
.setDryRun(false)
|
||||||
|
.setAllowLargeResults(true)
|
||||||
|
.setDestinationTable(com.google.cloud.bigquery.TableId.of(tempDataset_<%=cid%>, tempTable_<%=cid%>));
|
||||||
|
|
||||||
|
com.google.cloud.bigquery.JobId jobId_<%=cid%> = com.google.cloud.bigquery.JobId
|
||||||
|
.newBuilder().setProject(<%=projectId%>)
|
||||||
|
.setJob(java.util.UUID.randomUUID().toString())
|
||||||
|
.setLocation(location_<%=cid%>)
|
||||||
|
.build();
|
||||||
|
|
||||||
|
<% if(isLog4jEnabled){ %>
|
||||||
|
log.info("<%=cid%> - job location : " + jobId_<%=cid%>.getLocation());
|
||||||
|
<% } %>
|
||||||
|
<% } else { %>
|
||||||
|
com.google.cloud.bigquery.JobId jobId_<%=cid%> = com.google.cloud.bigquery.JobId.of(<%=projectId%>,java.util.UUID.randomUUID().toString());
|
||||||
|
|
||||||
|
<% } %>
|
||||||
com.google.cloud.bigquery.Job job_<%=cid%> = bigquery_<%=cid%>.create(com.google.cloud.bigquery.JobInfo.newBuilder(queryConfiguration_<%=cid%>.build()).setJobId(jobId_<%=cid%>).build());
|
com.google.cloud.bigquery.Job job_<%=cid%> = bigquery_<%=cid%>.create(com.google.cloud.bigquery.JobInfo.newBuilder(queryConfiguration_<%=cid%>.build()).setJobId(jobId_<%=cid%>).build());
|
||||||
|
|
||||||
<%
|
|
||||||
if(isLog4jEnabled){
|
<% if(isLog4jEnabled) { %>
|
||||||
%>
|
|
||||||
log.info("<%=cid%> - Sending job " + jobId_<%=cid%> + " with query: " + <%=query%>);
|
log.info("<%=cid%> - Sending job " + jobId_<%=cid%> + " with query: " + <%=query%>);
|
||||||
<%
|
<% } %>
|
||||||
}
|
|
||||||
%>
|
|
||||||
job_<%=cid%> = job_<%=cid%>.waitFor();
|
job_<%=cid%> = job_<%=cid%>.waitFor();
|
||||||
|
|
||||||
if (job_<%=cid%> == null) {
|
if (job_<%=cid%> == null) {
|
||||||
@@ -260,13 +289,9 @@
|
|||||||
throw new RuntimeException(job_<%=cid%>.getStatus().getError().toString());
|
throw new RuntimeException(job_<%=cid%>.getStatus().getError().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
<%
|
<% if(isLog4jEnabled) { %>
|
||||||
if(isLog4jEnabled){
|
|
||||||
%>
|
|
||||||
log.info("<%=cid%> - Job " + jobId_<%=cid%> + " finished successfully.");
|
log.info("<%=cid%> - Job " + jobId_<%=cid%> + " finished successfully.");
|
||||||
<%
|
<% } %>
|
||||||
}
|
|
||||||
%>
|
|
||||||
com.google.cloud.bigquery.TableResult result_<%=cid%> = job_<%=cid%>.getQueryResults();
|
com.google.cloud.bigquery.TableResult result_<%=cid%> = job_<%=cid%>.getQueryResults();
|
||||||
long nb_line_<%=cid%> = 0;
|
long nb_line_<%=cid%> = 0;
|
||||||
<%
|
<%
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ imports="
|
|||||||
INode node = (INode)codeGenArgument.getArgument();
|
INode node = (INode)codeGenArgument.getArgument();
|
||||||
String cid = node.getUniqueName();
|
String cid = node.getUniqueName();
|
||||||
String authMode = ElementParameterParser.getValue(node,"__AUTH_MODE__");
|
String authMode = ElementParameterParser.getValue(node,"__AUTH_MODE__");
|
||||||
|
String projectId = ElementParameterParser.getValue(node,"__PROJECT_ID__");
|
||||||
|
String resultSizeType = ElementParameterParser.getValue(node,"__RESULT_SIZE__");
|
||||||
|
|
||||||
if (authMode.equals("OAUTH")) {
|
if (authMode.equals("OAUTH")) {
|
||||||
%>
|
%>
|
||||||
}
|
}
|
||||||
@@ -24,7 +27,10 @@ imports="
|
|||||||
} else if (authMode.equals("SERVICEACCOUNT")) {
|
} else if (authMode.equals("SERVICEACCOUNT")) {
|
||||||
%>
|
%>
|
||||||
}
|
}
|
||||||
bigquery_<%=cid%>.delete(com.google.cloud.bigquery.TableId.of(dataset, temp_table));
|
<% if (resultSizeType.equals("LARGE") || resultSizeType.equals("AUTO")) { %>
|
||||||
|
com.google.cloud.bigquery.DatasetId datasetId_<%=cid%> = com.google.cloud.bigquery.DatasetId.of(<%=projectId%>, tempDataset_<%=cid%>);
|
||||||
|
bigquery_<%=cid%>.delete(datasetId_<%=cid%>, com.google.cloud.bigquery.BigQuery.DatasetDeleteOption.deleteContents());
|
||||||
|
<% }%>
|
||||||
<%
|
<%
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("authentication mode should be either \"SERVICEACCOUNT\" or \"OAUTH\", but it is " + authMode);
|
throw new IllegalArgumentException("authentication mode should be either \"SERVICEACCOUNT\" or \"OAUTH\", but it is " + authMode);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.components.localprovider</artifactId>
|
<artifactId>org.talend.designer.components.localprovider</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.core.generic</artifactId>
|
<artifactId>org.talend.designer.core.generic</artifactId>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import java.beans.PropertyChangeEvent;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.eclipse.core.runtime.NullProgressMonitor;
|
import org.eclipse.core.runtime.NullProgressMonitor;
|
||||||
import org.eclipse.gef.commands.Command;
|
import org.eclipse.gef.commands.Command;
|
||||||
import org.eclipse.swt.SWT;
|
import org.eclipse.swt.SWT;
|
||||||
@@ -126,8 +127,10 @@ public class ButtonController extends AbstractElementPropertySectionController {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for(String path : listString){
|
for(String path : listString){
|
||||||
|
if (!StringUtils.isBlank(path)) {
|
||||||
jars.add(GenericTableUtils.getDriverJarPath(path));
|
jars.add(GenericTableUtils.getDriverJarPath(path));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.core</artifactId>
|
<artifactId>org.talend.designer.core</artifactId>
|
||||||
|
|||||||
@@ -736,6 +736,7 @@ PerformancePreferencePage.generateCode=Generate code when opening the job
|
|||||||
PerformancePreferencePage.checkVersion=Check only the last version when updating jobs or joblets
|
PerformancePreferencePage.checkVersion=Check only the last version when updating jobs or joblets
|
||||||
PerformancePreferencePage.addOrDeleteVariable=Propagate add/delete variable changes in repository contexts
|
PerformancePreferencePage.addOrDeleteVariable=Propagate add/delete variable changes in repository contexts
|
||||||
PerformancePreferencePage.ActivedTimeoutSetting=Activate the timeout for database connection.
|
PerformancePreferencePage.ActivedTimeoutSetting=Activate the timeout for database connection.
|
||||||
|
PerformancePreferencePage.propagateContext=Propagate add context groups in repository contexts
|
||||||
PerformancePreferencePage.ConnectionTimeout=Connection timeout (seconds)
|
PerformancePreferencePage.ConnectionTimeout=Connection timeout (seconds)
|
||||||
PerformancePreferencePage.HBaseOrMaprDBScanLimit=HBase/MapR-DB scan limit (for retrieving schema)
|
PerformancePreferencePage.HBaseOrMaprDBScanLimit=HBase/MapR-DB scan limit (for retrieving schema)
|
||||||
PerformancePreferencePage.HBaseOrMaprDBScanLimitTip=If set it by zero, will be same as deactiving the limit.
|
PerformancePreferencePage.HBaseOrMaprDBScanLimitTip=If set it by zero, will be same as deactiving the limit.
|
||||||
|
|||||||
@@ -1948,7 +1948,7 @@ public class DataProcess implements IGeneratingProcess {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (duplicatedProcess.getComponentsType().equals(ComponentCategory.CATEGORY_4_DI.getName()) && PluginChecker.isTIS()) {
|
if (duplicatedProcess.getComponentsType().equals(ComponentCategory.CATEGORY_4_DI.getName()) && PluginChecker.isTIS() && !Boolean.getBoolean("deactivate_extended_component_log")) {
|
||||||
final String talendJobLogComponent = "tJobStructureCatcher";
|
final String talendJobLogComponent = "tJobStructureCatcher";
|
||||||
final String uid4TalendJobLogComponent = "talendJobLog";
|
final String uid4TalendJobLogComponent = "talendJobLog";
|
||||||
IComponent jobStructComponent = ComponentsFactoryProvider.getInstance().get(talendJobLogComponent, ComponentCategory.CATEGORY_4_DI.getName());
|
IComponent jobStructComponent = ComponentsFactoryProvider.getInstance().get(talendJobLogComponent, ComponentCategory.CATEGORY_4_DI.getName());
|
||||||
|
|||||||
@@ -607,7 +607,7 @@ public final class TalendEditorPaletteFactory {
|
|||||||
while (iter.hasNext()) {
|
while (iter.hasNext()) {
|
||||||
IComponent xmlComponent = iter.next();
|
IComponent xmlComponent = iter.next();
|
||||||
|
|
||||||
Matcher matcher = pattern.matcher(xmlComponent.getName().toLowerCase());
|
Matcher matcher = pattern.matcher(xmlComponent.getDisplayName().toLowerCase());
|
||||||
if (matcher.find()) {
|
if (matcher.find()) {
|
||||||
resultByName.add(new ComponentHit(xmlComponent, matcher.start()));
|
resultByName.add(new ComponentHit(xmlComponent, matcher.start()));
|
||||||
continue;
|
continue;
|
||||||
@@ -643,7 +643,7 @@ public final class TalendEditorPaletteFactory {
|
|||||||
private static void addDelegateComponents(IComponentsFactory compFac, Collection<IComponent> componentSet,
|
private static void addDelegateComponents(IComponentsFactory compFac, Collection<IComponent> componentSet,
|
||||||
String lowerCasedKeyword) {
|
String lowerCasedKeyword) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault().getService(
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IUnifiedComponentService.class);
|
IUnifiedComponentService.class);
|
||||||
service.filterUnifiedComponentForPalette(compFac, componentSet, lowerCasedKeyword);
|
service.filterUnifiedComponentForPalette(compFac, componentSet, lowerCasedKeyword);
|
||||||
|
|
||||||
@@ -730,13 +730,12 @@ public final class TalendEditorPaletteFactory {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
IComponent delegateComponent = UnifiedComponentUtil.getDelegateComponent(component);
|
IComponent delegateComponent = UnifiedComponentUtil.getDelegateComponent(component);
|
||||||
String name = component.getName();
|
|
||||||
String filter = null;
|
String filter = null;
|
||||||
if (delegateComponent != component) {
|
if (delegateComponent != component) {
|
||||||
// emf component name
|
// emf component name
|
||||||
filter = component.getName();
|
filter = component.getName();
|
||||||
name = UnifiedComponentUtil.getComponentDisplayNameForPalette(delegateComponent, filter);
|
|
||||||
}
|
}
|
||||||
|
String name = UnifiedComponentUtil.getComponentDisplayNameForPalette(delegateComponent, filter);
|
||||||
ImageDescriptor imageSmall = delegateComponent.getIcon16();
|
ImageDescriptor imageSmall = delegateComponent.getIcon16();
|
||||||
IPreferenceStore store = DesignerPlugin.getDefault().getPreferenceStore();
|
IPreferenceStore store = DesignerPlugin.getDefault().getPreferenceStore();
|
||||||
ImageDescriptor imageLarge;
|
ImageDescriptor imageLarge;
|
||||||
|
|||||||
@@ -624,9 +624,11 @@ public class ChangeMetadataCommand extends Command {
|
|||||||
setTableMAPPING();
|
setTableMAPPING();
|
||||||
|
|
||||||
if (!internal) {
|
if (!internal) {
|
||||||
|
if (!oldOutputMetadata.sameMetadataAs(newOutputMetadata, IMetadataColumn.OPTIONS_NONE)) {
|
||||||
updateColumnList(oldOutputMetadata, newOutputMetadata);
|
updateColumnList(oldOutputMetadata, newOutputMetadata);
|
||||||
((Process) node.getProcess()).checkProcess();
|
((Process) node.getProcess()).checkProcess();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
refreshMetadataChanged();
|
refreshMetadataChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -516,7 +516,7 @@ public class Node extends Element implements IGraphicalNode {
|
|||||||
|
|
||||||
private void init(IComponent newComponent) {
|
private void init(IComponent newComponent) {
|
||||||
this.component = UnifiedComponentUtil.getEmfComponent(this, newComponent);
|
this.component = UnifiedComponentUtil.getEmfComponent(this, newComponent);
|
||||||
this.label = component.getName();
|
this.label = component.getDisplayName();
|
||||||
updateComponentStatusIfNeeded(true);
|
updateComponentStatusIfNeeded(true);
|
||||||
IPreferenceStore store = DesignerPlugin.getDefault().getPreferenceStore();
|
IPreferenceStore store = DesignerPlugin.getDefault().getPreferenceStore();
|
||||||
|
|
||||||
@@ -1179,6 +1179,12 @@ public class Node extends Element implements IGraphicalNode {
|
|||||||
if (useConn != null) {
|
if (useConn != null) {
|
||||||
connParam = this.getElementParameter("CONNECTION"); //$NON-NLS-1$
|
connParam = this.getElementParameter("CONNECTION"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean isGeneric = this.getComponent().getComponentType() == EComponentType.GENERIC;
|
||||||
|
if(isGeneric && labelToParse != null) {
|
||||||
|
labelToParse = labelToParse.replaceAll("__TABLE__", "__tableSelection.tablename__"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
|
}
|
||||||
|
|
||||||
if (useConn != null && connParam != null && Boolean.TRUE.equals(useConn.getValue())) {
|
if (useConn != null && connParam != null && Boolean.TRUE.equals(useConn.getValue())) {
|
||||||
|
|
||||||
String connName = (String) connParam.getValue();
|
String connName = (String) connParam.getValue();
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ import org.talend.core.model.update.IUpdateManager;
|
|||||||
import org.talend.core.model.utils.TalendTextUtils;
|
import org.talend.core.model.utils.TalendTextUtils;
|
||||||
import org.talend.core.repository.model.ProxyRepositoryFactory;
|
import org.talend.core.repository.model.ProxyRepositoryFactory;
|
||||||
import org.talend.core.repository.utils.ConvertJobsUtil;
|
import org.talend.core.repository.utils.ConvertJobsUtil;
|
||||||
|
import org.talend.core.repository.utils.ProjectHelper;
|
||||||
import org.talend.core.repository.utils.XmiResourceManager;
|
import org.talend.core.repository.utils.XmiResourceManager;
|
||||||
import org.talend.core.runtime.repository.item.ItemProductKeys;
|
import org.talend.core.runtime.repository.item.ItemProductKeys;
|
||||||
import org.talend.core.runtime.util.ItemDateParser;
|
import org.talend.core.runtime.util.ItemDateParser;
|
||||||
@@ -1079,7 +1080,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
ElementParameterType pType;
|
ElementParameterType pType;
|
||||||
boolean isJoblet = false;
|
boolean isJoblet = false;
|
||||||
if (param.getElement() instanceof INode && PluginChecker.isJobLetPluginLoaded()) {
|
if (param.getElement() instanceof INode && PluginChecker.isJobLetPluginLoaded()) {
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null && service.isJobletComponent((INode) param.getElement())) {
|
if (service != null && service.isJobletComponent((INode) param.getElement())) {
|
||||||
isJoblet = true;
|
isJoblet = true;
|
||||||
@@ -1920,6 +1921,18 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
boolean isLimited = false;
|
||||||
|
org.talend.core.model.properties.Project currProject = getProject().getEmfProject();
|
||||||
|
org.talend.core.model.properties.Project project = ProjectManager.getInstance().getProject(this.property);
|
||||||
|
if (currProject != null && project != null && !currProject.equals(project)) {
|
||||||
|
int currOrdinal = ProjectHelper.getProjectTypeOrdinal(currProject);
|
||||||
|
int ordinal = ProjectHelper.getProjectTypeOrdinal(project);
|
||||||
|
if (currOrdinal > ordinal) {
|
||||||
|
isLimited = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!isLimited) {
|
||||||
for (IRepositoryViewObject object : routines) {
|
for (IRepositoryViewObject object : routines) {
|
||||||
if (routinesToAdd.contains(object.getLabel()) && !routinesAlreadySetup.contains(object.getLabel())) {
|
if (routinesToAdd.contains(object.getLabel()) && !routinesAlreadySetup.contains(object.getLabel())) {
|
||||||
RoutinesParameterType routinesParameterType = TalendFileFactory.eINSTANCE.createRoutinesParameterType();
|
RoutinesParameterType routinesParameterType = TalendFileFactory.eINSTANCE.createRoutinesParameterType();
|
||||||
@@ -1928,6 +1941,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
routinesDependencies.add(routinesParameterType);
|
routinesDependencies.add(routinesParameterType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} catch (PersistenceException e) {
|
} catch (PersistenceException e) {
|
||||||
ExceptionHandler.process(e);
|
ExceptionHandler.process(e);
|
||||||
}
|
}
|
||||||
@@ -2283,7 +2297,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
if (EParameterName.PROCESS_TYPE_VERSION.name().equals(pType.getName())) {
|
if (EParameterName.PROCESS_TYPE_VERSION.name().equals(pType.getName())) {
|
||||||
String jobletVersion = pType.getValue();
|
String jobletVersion = pType.getValue();
|
||||||
if (!RelationshipItemBuilder.LATEST_VERSION.equals(jobletVersion)) {
|
if (!RelationshipItemBuilder.LATEST_VERSION.equals(jobletVersion)) {
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault()
|
IJobletProviderService service = GlobalServiceRegister.getDefault()
|
||||||
.getService(IJobletProviderService.class);
|
.getService(IJobletProviderService.class);
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
Property jobletProperty = service.getJobletComponentItem(component);
|
Property jobletProperty = service.getJobletComponentItem(component);
|
||||||
@@ -2453,7 +2467,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
updateAllMappingTypes();
|
updateAllMappingTypes();
|
||||||
nc.setNeedLoadLib(false);
|
nc.setNeedLoadLib(false);
|
||||||
if (nc.isJoblet()) {
|
if (nc.isJoblet()) {
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
// reload only for stuido ,because joblet can be changed in the job editor
|
// reload only for stuido ,because joblet can be changed in the job editor
|
||||||
@@ -2467,7 +2481,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
NodeContainer nodeContainer = null;
|
NodeContainer nodeContainer = null;
|
||||||
if (isJunitContainer) {
|
if (isJunitContainer) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerGEFService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerGEFService.class)) {
|
||||||
ITestContainerGEFService testContainerService = (ITestContainerGEFService) GlobalServiceRegister.getDefault()
|
ITestContainerGEFService testContainerService = GlobalServiceRegister.getDefault()
|
||||||
.getService(ITestContainerGEFService.class);
|
.getService(ITestContainerGEFService.class);
|
||||||
if (testContainerService != null) {
|
if (testContainerService != null) {
|
||||||
nodeContainer = testContainerService.createJunitContainer(node);
|
nodeContainer = testContainerService.createJunitContainer(node);
|
||||||
@@ -2669,7 +2683,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IScdComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IScdComponentService.class)) {
|
||||||
IScdComponentService service = (IScdComponentService) GlobalServiceRegister.getDefault().getService(
|
IScdComponentService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IScdComponentService.class);
|
IScdComponentService.class);
|
||||||
service.updateOutputMetadata(nc, metadataTable);
|
service.updateOutputMetadata(nc, metadataTable);
|
||||||
}
|
}
|
||||||
@@ -2796,7 +2810,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (PluginChecker.isJobLetPluginLoaded()) { // bug 12764
|
if (PluginChecker.isJobLetPluginLoaded()) { // bug 12764
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null && service.isJobletComponent(source)) {
|
if (service != null && service.isJobletComponent(source)) {
|
||||||
continue;
|
continue;
|
||||||
@@ -3322,7 +3336,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
if (node instanceof Node) {
|
if (node instanceof Node) {
|
||||||
component = ((Node) node).getDelegateComponent();
|
component = ((Node) node).getDelegateComponent();
|
||||||
}
|
}
|
||||||
String baseName = component.getOriginalName();
|
String baseName = component.getDisplayName();
|
||||||
return UniqueNodeNameGenerator.generateUniqueNodeName(baseName, uniqueNodeNameList);
|
return UniqueNodeNameGenerator.generateUniqueNodeName(baseName, uniqueNodeNameList);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4572,7 +4586,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
Item item = ((IProcess2) jobletProcess).getProperty().getItem();
|
Item item = ((IProcess2) jobletProcess).getProperty().getItem();
|
||||||
if (item instanceof JobletProcessItem) {
|
if (item instanceof JobletProcessItem) {
|
||||||
JobletProcessItem jobletItem = ((JobletProcessItem) item);
|
JobletProcessItem jobletItem = ((JobletProcessItem) item);
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
service.saveJobletNode(jobletItem, jobletContainer);
|
service.saveJobletNode(jobletItem, jobletContainer);
|
||||||
@@ -4621,7 +4635,7 @@ public class Process extends Element implements IProcess2, IGEFProcess, ILastVer
|
|||||||
|
|
||||||
IJobletProviderService jobletService = null;
|
IJobletProviderService jobletService = null;
|
||||||
if (PluginChecker.isJobLetPluginLoaded()) {
|
if (PluginChecker.isJobLetPluginLoaded()) {
|
||||||
jobletService = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
|
jobletService = GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
|
||||||
for (INode node : getGraphicalNodes()) {
|
for (INode node : getGraphicalNodes()) {
|
||||||
if (jobletService.isJobletComponent(node)) {
|
if (jobletService.isJobletComponent(node)) {
|
||||||
listRoutines.addAll(getJobletRoutines(jobletService, node));
|
listRoutines.addAll(getJobletRoutines(jobletService, node));
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ import org.talend.core.ui.ICDCProviderService;
|
|||||||
import org.talend.core.ui.IJobletProviderService;
|
import org.talend.core.ui.IJobletProviderService;
|
||||||
import org.talend.core.ui.component.ComponentsFactoryProvider;
|
import org.talend.core.ui.component.ComponentsFactoryProvider;
|
||||||
import org.talend.cwm.helper.SAPBWTableHelper;
|
import org.talend.cwm.helper.SAPBWTableHelper;
|
||||||
|
import org.talend.designer.core.DesignerPlugin;
|
||||||
import org.talend.designer.core.i18n.Messages;
|
import org.talend.designer.core.i18n.Messages;
|
||||||
import org.talend.designer.core.model.components.EParameterName;
|
import org.talend.designer.core.model.components.EParameterName;
|
||||||
import org.talend.designer.core.model.components.ElementParameter;
|
import org.talend.designer.core.model.components.ElementParameter;
|
||||||
@@ -126,6 +127,7 @@ import org.talend.designer.core.model.utils.emf.talendfile.impl.ContextTypeImpl;
|
|||||||
import org.talend.designer.core.ui.editor.nodes.Node;
|
import org.talend.designer.core.ui.editor.nodes.Node;
|
||||||
import org.talend.designer.core.ui.editor.update.UpdateCheckResult;
|
import org.talend.designer.core.ui.editor.update.UpdateCheckResult;
|
||||||
import org.talend.designer.core.ui.editor.update.UpdateManagerUtils;
|
import org.talend.designer.core.ui.editor.update.UpdateManagerUtils;
|
||||||
|
import org.talend.designer.core.ui.preferences.TalendDesignerPrefConstants;
|
||||||
import org.talend.designer.core.utils.ConnectionUtil;
|
import org.talend.designer.core.utils.ConnectionUtil;
|
||||||
import org.talend.designer.core.utils.SAPParametersUtils;
|
import org.talend.designer.core.utils.SAPParametersUtils;
|
||||||
import org.talend.metadata.managment.ui.utils.ConnectionContextHelper;
|
import org.talend.metadata.managment.ui.utils.ConnectionContextHelper;
|
||||||
@@ -308,6 +310,10 @@ public class ProcessUpdateManager extends AbstractUpdateManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Boolean propagate = DesignerPlugin.getDefault().getPreferenceStore().getBoolean(TalendDesignerPrefConstants.PROPAGATE_CONTEXT);
|
||||||
|
if(!propagate) {
|
||||||
|
return contextResults;
|
||||||
|
}
|
||||||
// only handle added groups
|
// only handle added groups
|
||||||
Set<String> contextSourceChecked = new HashSet<String>();
|
Set<String> contextSourceChecked = new HashSet<String>();
|
||||||
Set<String> processContextGroups = new HashSet<String>();
|
Set<String> processContextGroups = new HashSet<String>();
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
if (obj instanceof RepositoryNode) {
|
if (obj instanceof RepositoryNode) {
|
||||||
RepositoryNode sourceNode = (RepositoryNode) obj;
|
RepositoryNode sourceNode = (RepositoryNode) obj;
|
||||||
if (PluginChecker.isCDCPluginLoaded()) {
|
if (PluginChecker.isCDCPluginLoaded()) {
|
||||||
ICDCProviderService service = (ICDCProviderService) GlobalServiceRegister.getDefault().getService(
|
ICDCProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
ICDCProviderService.class);
|
ICDCProviderService.class);
|
||||||
|
|
||||||
if (service != null && (service.isSubscriberTableNode(sourceNode) || service.isSystemSubscriberTable(sourceNode))) {
|
if (service != null && (service.isSubscriberTableNode(sourceNode) || service.isSystemSubscriberTable(sourceNode))) {
|
||||||
@@ -260,7 +260,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
}
|
}
|
||||||
IOozieService oozieService = null;
|
IOozieService oozieService = null;
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IOozieService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IOozieService.class)) {
|
||||||
oozieService = (IOozieService) GlobalServiceRegister.getDefault().getService(IOozieService.class);
|
oozieService = GlobalServiceRegister.getDefault().getService(IOozieService.class);
|
||||||
}
|
}
|
||||||
if (oozieService != null && oozieService.isOozieNode(sourceNode)) {
|
if (oozieService != null && oozieService.isOozieNode(sourceNode)) {
|
||||||
return false;
|
return false;
|
||||||
@@ -268,7 +268,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
|
|
||||||
ISAPProviderService sapService = null;
|
ISAPProviderService sapService = null;
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(ISAPProviderService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(ISAPProviderService.class)) {
|
||||||
sapService = (ISAPProviderService) GlobalServiceRegister.getDefault().getService(ISAPProviderService.class);
|
sapService = GlobalServiceRegister.getDefault().getService(ISAPProviderService.class);
|
||||||
}
|
}
|
||||||
if (sapService != null && sapService.isSAPNode(sourceNode)) {
|
if (sapService != null && sapService.isSAPNode(sourceNode)) {
|
||||||
return false;
|
return false;
|
||||||
@@ -1051,7 +1051,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
Item item = sourceNode.getObject().getProperty().getItem();
|
Item item = sourceNode.getObject().getProperty().getItem();
|
||||||
|
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerProviderService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(ITestContainerProviderService.class)) {
|
||||||
ITestContainerProviderService testContainerService = (ITestContainerProviderService) GlobalServiceRegister
|
ITestContainerProviderService testContainerService = GlobalServiceRegister
|
||||||
.getDefault().getService(ITestContainerProviderService.class);
|
.getDefault().getService(ITestContainerProviderService.class);
|
||||||
if (testContainerService != null && testContainerService.isTestContainerItem(item)) {
|
if (testContainerService != null && testContainerService.isTestContainerItem(item)) {
|
||||||
continue;
|
continue;
|
||||||
@@ -1971,7 +1971,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
// special handle hbase to support tpigLoad
|
// special handle hbase to support tpigLoad
|
||||||
String hbaseName = EDatabaseTypeName.HBASE.getDisplayName().toUpperCase();
|
String hbaseName = EDatabaseTypeName.HBASE.getDisplayName().toUpperCase();
|
||||||
if (rcSetting != null && (hbaseName).equals(rcSetting.toString())) {
|
if (rcSetting != null && (hbaseName).equals(rcSetting.toString())) {
|
||||||
IComponentsService service = (IComponentsService) GlobalServiceRegister.getDefault().getService(
|
IComponentsService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IComponentsService.class);
|
IComponentsService.class);
|
||||||
String componentProductname = null;
|
String componentProductname = null;
|
||||||
Collection<IComponent> components = service.getComponentsFactory().readComponents();
|
Collection<IComponent> components = service.getComponentsFactory().readComponents();
|
||||||
@@ -2125,7 +2125,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
|
|
||||||
EConnectionType connectionType = EConnectionType.FLOW_MAIN;
|
EConnectionType connectionType = EConnectionType.FLOW_MAIN;
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(ICamelDesignerCoreService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(ICamelDesignerCoreService.class)) {
|
||||||
ICamelDesignerCoreService camelService = (ICamelDesignerCoreService) GlobalServiceRegister.getDefault()
|
ICamelDesignerCoreService camelService = GlobalServiceRegister.getDefault()
|
||||||
.getService(ICamelDesignerCoreService.class);
|
.getService(ICamelDesignerCoreService.class);
|
||||||
if (camelService.isRouteBuilderNode(node)) {
|
if (camelService.isRouteBuilderNode(node)) {
|
||||||
connectionType = camelService.getTargetConnectionType(node);
|
connectionType = camelService.getTargetConnectionType(node);
|
||||||
@@ -2143,7 +2143,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
// FIXME perhaps, this is not good fix, need check it later
|
// FIXME perhaps, this is not good fix, need check it later
|
||||||
// bug 21411
|
// bug 21411
|
||||||
if (PluginChecker.isJobLetPluginLoaded()) {
|
if (PluginChecker.isJobLetPluginLoaded()) {
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null && service.isJobletComponent(targetConnection.getTarget())) {
|
if (service != null && service.isJobletComponent(targetConnection.getTarget())) {
|
||||||
if (targetConnection.getTarget() instanceof Node) {
|
if (targetConnection.getTarget() instanceof Node) {
|
||||||
@@ -2277,7 +2277,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
private boolean isLock(JobletContainerPart part) {
|
private boolean isLock(JobletContainerPart part) {
|
||||||
INode jobletNode = ((JobletContainer) part.getModel()).getNode();
|
INode jobletNode = ((JobletContainer) part.getModel()).getNode();
|
||||||
if (PluginChecker.isJobLetPluginLoaded()) {
|
if (PluginChecker.isJobLetPluginLoaded()) {
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
return service.isLock(jobletNode);
|
return service.isLock(jobletNode);
|
||||||
@@ -2292,7 +2292,7 @@ public class TalendEditorDropTargetListener extends TemplateTransferDropTargetLi
|
|||||||
Node jobletNode = ((JobletContainer) part.getModel()).getNode();
|
Node jobletNode = ((JobletContainer) part.getModel()).getNode();
|
||||||
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
|
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
|
||||||
if (PluginChecker.isJobLetPluginLoaded()) {
|
if (PluginChecker.isJobLetPluginLoaded()) {
|
||||||
IJobletProviderService service = (IJobletProviderService) GlobalServiceRegister.getDefault().getService(
|
IJobletProviderService service = GlobalServiceRegister.getDefault().getService(
|
||||||
IJobletProviderService.class);
|
IJobletProviderService.class);
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
openEditor = (AbstractMultiPageTalendEditor) service.openJobletEditor(jobletNode, page);
|
openEditor = (AbstractMultiPageTalendEditor) service.openJobletEditor(jobletNode, page);
|
||||||
@@ -2332,7 +2332,7 @@ class ComponentChooseDialog extends ListDialog {
|
|||||||
if (UnifiedComponentUtil.isDelegateComponent(component) && typeName != null) {
|
if (UnifiedComponentUtil.isDelegateComponent(component) && typeName != null) {
|
||||||
return component.getName() + "(" + typeName + ")";
|
return component.getName() + "(" + typeName + ")";
|
||||||
}
|
}
|
||||||
return component.getName();
|
return component.getDisplayName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -266,6 +266,9 @@ public class TextController extends AbstractElementPropertySectionController {
|
|||||||
* @param value
|
* @param value
|
||||||
*/
|
*/
|
||||||
private void checkTextError(IElementParameter param, Text labelText, Object value) {
|
private void checkTextError(IElementParameter param, Text labelText, Object value) {
|
||||||
|
if (elem instanceof Node) {
|
||||||
|
labelText.setToolTipText(VARIABLE_TOOLTIP + param.getVariableName());
|
||||||
|
}
|
||||||
// Only for job settings View.
|
// Only for job settings View.
|
||||||
// job settings extra (feature 2710)
|
// job settings extra (feature 2710)
|
||||||
if (param.getCategory() == EComponentCategory.STATSANDLOGS || param.getCategory() == EComponentCategory.EXTRA) {
|
if (param.getCategory() == EComponentCategory.STATSANDLOGS || param.getCategory() == EComponentCategory.EXTRA) {
|
||||||
|
|||||||
@@ -65,6 +65,9 @@ public class PerformancePreferencePage extends FieldEditorPreferencePage impleme
|
|||||||
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.CHECK_ONLY_LAST_VERSION,
|
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.CHECK_ONLY_LAST_VERSION,
|
||||||
Messages.getString("PerformancePreferencePage.checkVersion"), //$NON-NLS-1$
|
Messages.getString("PerformancePreferencePage.checkVersion"), //$NON-NLS-1$
|
||||||
getFieldEditorParent()));
|
getFieldEditorParent()));
|
||||||
|
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.PROPAGATE_CONTEXT,
|
||||||
|
Messages.getString("PerformancePreferencePage.propagateContext"), //$NON-NLS-1$
|
||||||
|
getFieldEditorParent()));
|
||||||
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.PROPAGATE_CONTEXT_VARIABLE,
|
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.PROPAGATE_CONTEXT_VARIABLE,
|
||||||
Messages.getString("PerformancePreferencePage.addOrDeleteVariable"), //$NON-NLS-1$
|
Messages.getString("PerformancePreferencePage.addOrDeleteVariable"), //$NON-NLS-1$
|
||||||
getFieldEditorParent()));
|
getFieldEditorParent()));
|
||||||
@@ -101,6 +104,9 @@ public class PerformancePreferencePage extends FieldEditorPreferencePage impleme
|
|||||||
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.CHECK_ONLY_LAST_VERSION,
|
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.CHECK_ONLY_LAST_VERSION,
|
||||||
Messages.getString("PerformancePreferencePage.checkVersion"), //$NON-NLS-1$
|
Messages.getString("PerformancePreferencePage.checkVersion"), //$NON-NLS-1$
|
||||||
getFieldEditorParent()));
|
getFieldEditorParent()));
|
||||||
|
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.PROPAGATE_CONTEXT,
|
||||||
|
Messages.getString("PerformancePreferencePage.propagateContext"), //$NON-NLS-1$
|
||||||
|
getFieldEditorParent()));
|
||||||
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.PROPAGATE_CONTEXT_VARIABLE,
|
addField(new BooleanFieldEditor(TalendDesignerPrefConstants.PROPAGATE_CONTEXT_VARIABLE,
|
||||||
Messages.getString("PerformancePreferencePage.addOrDeleteVariable"), //$NON-NLS-1$
|
Messages.getString("PerformancePreferencePage.addOrDeleteVariable"), //$NON-NLS-1$
|
||||||
getFieldEditorParent()));
|
getFieldEditorParent()));
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ public class TalendDesignerPrefConstants {
|
|||||||
|
|
||||||
public static final String DUPLICATE_TESTCASE = "duplicateTestCases "; //$NON-NLS-1$
|
public static final String DUPLICATE_TESTCASE = "duplicateTestCases "; //$NON-NLS-1$
|
||||||
|
|
||||||
|
public static final String PROPAGATE_CONTEXT = "propagateContext"; //$NON-NLS-1$
|
||||||
|
|
||||||
public static final String SCHEMA_OPTIONS = "schemaOptions"; //$NON-NLS-1$
|
public static final String SCHEMA_OPTIONS = "schemaOptions"; //$NON-NLS-1$
|
||||||
|
|
||||||
public static final String VIEW_OPTIONS = "viewOptions"; //$NON-NLS-1$
|
public static final String VIEW_OPTIONS = "viewOptions"; //$NON-NLS-1$
|
||||||
|
|||||||
@@ -436,7 +436,9 @@ public class JavaProcessUtil {
|
|||||||
if (var.equals(contextPara.getName())) {
|
if (var.equals(contextPara.getName())) {
|
||||||
String value =
|
String value =
|
||||||
context.getContextParameter(contextPara.getName()).getValue();
|
context.getContextParameter(contextPara.getName()).getValue();
|
||||||
|
if (StringUtils.isBlank(value)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (curParam.getName().equals(EParameterName.DRIVER_JAR.getName())
|
if (curParam.getName().equals(EParameterName.DRIVER_JAR.getName())
|
||||||
&& value.contains(";")) { //$NON-NLS-1$
|
&& value.contains(";")) { //$NON-NLS-1$
|
||||||
String[] jars = value.split(";"); //$NON-NLS-1$
|
String[] jars = value.split(";"); //$NON-NLS-1$
|
||||||
|
|||||||
@@ -49,8 +49,7 @@ public class UnifiedComponentUtil {
|
|||||||
if (elementParameter != null && elementParameter.getValue() != null) {
|
if (elementParameter != null && elementParameter.getValue() != null) {
|
||||||
String emfCompName = String.valueOf(elementParameter.getValue());
|
String emfCompName = String.valueOf(elementParameter.getValue());
|
||||||
String paletteType = component.getPaletteType();
|
String paletteType = component.getPaletteType();
|
||||||
IComponentsService compService = (IComponentsService) GlobalServiceRegister.getDefault()
|
IComponentsService compService = GlobalServiceRegister.getDefault().getService(IComponentsService.class);
|
||||||
.getService(IComponentsService.class);
|
|
||||||
IComponent emfComponent = compService.getComponentsFactory().get(emfCompName, paletteType);
|
IComponent emfComponent = compService.getComponentsFactory().get(emfCompName, paletteType);
|
||||||
if (emfComponent != null) {
|
if (emfComponent != null) {
|
||||||
return emfComponent;
|
return emfComponent;
|
||||||
@@ -64,8 +63,7 @@ public class UnifiedComponentUtil {
|
|||||||
|
|
||||||
public static boolean isDelegateComponent(IComponent component) {
|
public static boolean isDelegateComponent(IComponent component) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
if (service.isDelegateComponent(component)) {
|
if (service.isDelegateComponent(component)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -75,8 +73,7 @@ public class UnifiedComponentUtil {
|
|||||||
|
|
||||||
public static IComponent getDelegateComponent(IComponent component) {
|
public static IComponent getDelegateComponent(IComponent component) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
return service.getDelegateComponent(component);
|
return service.getDelegateComponent(component);
|
||||||
}
|
}
|
||||||
return component;
|
return component;
|
||||||
@@ -84,8 +81,7 @@ public class UnifiedComponentUtil {
|
|||||||
|
|
||||||
public static IComponent getDelegateComponent(String componentName, String paletteType) {
|
public static IComponent getDelegateComponent(String componentName, String paletteType) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
return service.getDelegateComponent(componentName, paletteType);
|
return service.getDelegateComponent(componentName, paletteType);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
@@ -94,8 +90,7 @@ public class UnifiedComponentUtil {
|
|||||||
public static void createParameters(INode node, List<IElementParameter> listParams, IComponent delegateComp,
|
public static void createParameters(INode node, List<IElementParameter> listParams, IComponent delegateComp,
|
||||||
IComponent emfComp) {
|
IComponent emfComp) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
service.createParameters(node, listParams, delegateComp, emfComp);
|
service.createParameters(node, listParams, delegateComp, emfComp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -104,8 +99,7 @@ public class UnifiedComponentUtil {
|
|||||||
List<? extends IElementParameter> oldParms, List<IMetadataTable> oldMetadataTables,
|
List<? extends IElementParameter> oldParms, List<IMetadataTable> oldMetadataTables,
|
||||||
List<INodeConnector> oldConnectors) {
|
List<INodeConnector> oldConnectors) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
service.switchComponent(node, delegateComponent, oldEmfComponent, oldParms, oldMetadataTables, oldConnectors);
|
service.switchComponent(node, delegateComponent, oldEmfComponent, oldParms, oldMetadataTables, oldConnectors);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -114,8 +108,7 @@ public class UnifiedComponentUtil {
|
|||||||
public static List<IComponent> filterUnifiedComponent(RepositoryComponentSetting setting, List<IComponent> componentList) {
|
public static List<IComponent> filterUnifiedComponent(RepositoryComponentSetting setting, List<IComponent> componentList) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
List<IComponent> filtedList = new ArrayList<IComponent>();
|
List<IComponent> filtedList = new ArrayList<IComponent>();
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
IComponentsHandler componentsHandler = ComponentsFactoryProvider.getInstance().getComponentsHandler();
|
IComponentsHandler componentsHandler = ComponentsFactoryProvider.getInstance().getComponentsHandler();
|
||||||
filtedList.addAll(componentList);
|
filtedList.addAll(componentList);
|
||||||
for (IComponent component : componentList) {
|
for (IComponent component : componentList) {
|
||||||
@@ -149,12 +142,10 @@ public class UnifiedComponentUtil {
|
|||||||
|
|
||||||
public static IComponent getEmfComponent(IComponentName setting, IComponent selectedComponent) {
|
public static IComponent getEmfComponent(IComponentName setting, IComponent selectedComponent) {
|
||||||
if (isDelegateComponent(selectedComponent)) {
|
if (isDelegateComponent(selectedComponent)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
String paletteType = selectedComponent.getPaletteType();
|
String paletteType = selectedComponent.getPaletteType();
|
||||||
String emfCompName = service.getUnifiedComponetName4DndFromRepository(setting, selectedComponent);
|
String emfCompName = service.getUnifiedComponetName4DndFromRepository(setting, selectedComponent);
|
||||||
IComponentsService compService = (IComponentsService) GlobalServiceRegister.getDefault()
|
IComponentsService compService = GlobalServiceRegister.getDefault().getService(IComponentsService.class);
|
||||||
.getService(IComponentsService.class);
|
|
||||||
IComponent emfComponent = compService.getComponentsFactory().get(emfCompName, paletteType);
|
IComponent emfComponent = compService.getComponentsFactory().get(emfCompName, paletteType);
|
||||||
if (emfComponent != null) {
|
if (emfComponent != null) {
|
||||||
return emfComponent;
|
return emfComponent;
|
||||||
@@ -167,8 +158,7 @@ public class UnifiedComponentUtil {
|
|||||||
|
|
||||||
public static String getUnifiedComponentDisplayName(IComponent delegateComponent, String emfComponent) {
|
public static String getUnifiedComponentDisplayName(IComponent delegateComponent, String emfComponent) {
|
||||||
if (isDelegateComponent(delegateComponent)) {
|
if (isDelegateComponent(delegateComponent)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
return service.getUnifiedCompDisplayName(delegateComponent, emfComponent);
|
return service.getUnifiedCompDisplayName(delegateComponent, emfComponent);
|
||||||
}
|
}
|
||||||
return delegateComponent.getName();
|
return delegateComponent.getName();
|
||||||
@@ -194,17 +184,15 @@ public class UnifiedComponentUtil {
|
|||||||
|
|
||||||
public static String getComponentDisplayNameForPalette(IComponent delegateComponent, String keyWord) {
|
public static String getComponentDisplayNameForPalette(IComponent delegateComponent, String keyWord) {
|
||||||
if (isDelegateComponent(delegateComponent)) {
|
if (isDelegateComponent(delegateComponent)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
return service.getComponentDisplayNameForPalette(delegateComponent, keyWord);
|
return service.getComponentDisplayNameForPalette(delegateComponent, keyWord);
|
||||||
}
|
}
|
||||||
return delegateComponent.getName();
|
return delegateComponent.getDisplayName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IComponent getUnifiedComponentByFilter(IComponent delegateComponent, String filter) {
|
public static IComponent getUnifiedComponentByFilter(IComponent delegateComponent, String filter) {
|
||||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
if (GlobalServiceRegister.getDefault().isServiceRegistered(IUnifiedComponentService.class)) {
|
||||||
IUnifiedComponentService service = (IUnifiedComponentService) GlobalServiceRegister.getDefault()
|
IUnifiedComponentService service = GlobalServiceRegister.getDefault().getService(IUnifiedComponentService.class);
|
||||||
.getService(IUnifiedComponentService.class);
|
|
||||||
return service.getUnifiedComponentByFilter(delegateComponent, filter);
|
return service.getUnifiedComponentByFilter(delegateComponent, filter);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.dbmap</artifactId>
|
<artifactId>org.talend.designer.dbmap</artifactId>
|
||||||
|
|||||||
@@ -1325,6 +1325,7 @@ public abstract class DbGenerationManager {
|
|||||||
|
|
||||||
protected String initExpression(DbMapComponent component, ExternalDbMapEntry dbMapEntry) {
|
protected String initExpression(DbMapComponent component, ExternalDbMapEntry dbMapEntry) {
|
||||||
String quote = getQuote(component);
|
String quote = getQuote(component);
|
||||||
|
String quto_mark = TalendQuoteUtils.QUOTATION_MARK;
|
||||||
String expression = dbMapEntry.getExpression();
|
String expression = dbMapEntry.getExpression();
|
||||||
if (expression != null) {
|
if (expression != null) {
|
||||||
List<Map<String, String>> itemNameList = null;
|
List<Map<String, String>> itemNameList = null;
|
||||||
@@ -1349,7 +1350,7 @@ public abstract class DbGenerationManager {
|
|||||||
itemNameList = mapParser2.parseInTableEntryLocations(expression);
|
itemNameList = mapParser2.parseInTableEntryLocations(expression);
|
||||||
}
|
}
|
||||||
|
|
||||||
String quoParser = "[\\\\]?\\" + quote; //$NON-NLS-1$
|
String quto_markParser = "[\\\\]?\\" + quto_mark; //$NON-NLS-1$
|
||||||
for (Map<String, String> itemNamemap : itemNameList) {
|
for (Map<String, String> itemNamemap : itemNameList) {
|
||||||
Set<Entry<String, String>> set = itemNamemap.entrySet();
|
Set<Entry<String, String>> set = itemNamemap.entrySet();
|
||||||
Iterator<Entry<String, String>> ite = set.iterator();
|
Iterator<Entry<String, String>> ite = set.iterator();
|
||||||
@@ -1415,16 +1416,12 @@ public abstract class DbGenerationManager {
|
|||||||
}
|
}
|
||||||
if (expression.trim().equals(tableValue + "." + oriName)) {
|
if (expression.trim().equals(tableValue + "." + oriName)) {
|
||||||
expression = tableValue + "." + getColumnName(iconn, oriName, quote);
|
expression = tableValue + "." + getColumnName(iconn, oriName, quote);
|
||||||
if(TalendQuoteUtils.QUOTATION_MARK.equals(quote)){
|
expression = expression.replaceAll(quto_markParser,"\\\\" +quto_mark); //$NON-NLS-1$
|
||||||
expression = expression.replaceAll(quoParser,"\\\\" +quote); //$NON-NLS-1$
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (expression.trim().equals(originaltableName + "." + oriName)) {
|
if (expression.trim().equals(originaltableName + "." + oriName)) {
|
||||||
expression = originaltableName + "." + getColumnName(iconn, oriName, quote);
|
expression = originaltableName + "." + getColumnName(iconn, oriName, quote);
|
||||||
if(TalendQuoteUtils.QUOTATION_MARK.equals(quote)){
|
expression = expression.replaceAll(quto_markParser,"\\\\" +quto_mark); //$NON-NLS-1$
|
||||||
expression = expression.replaceAll(quoParser,"\\\\" +quote); //$NON-NLS-1$
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// if it is temp delived table, use label to generate sql
|
// if it is temp delived table, use label to generate sql
|
||||||
@@ -1438,9 +1435,7 @@ public abstract class DbGenerationManager {
|
|||||||
}
|
}
|
||||||
expression = expression.replaceFirst(tableValue + "\\." + co.getLabel(), //$NON-NLS-1$
|
expression = expression.replaceFirst(tableValue + "\\." + co.getLabel(), //$NON-NLS-1$
|
||||||
tableValue + "\\." + oriName); //$NON-NLS-1$
|
tableValue + "\\." + oriName); //$NON-NLS-1$
|
||||||
if(TalendQuoteUtils.QUOTATION_MARK.equals(quote)){
|
expression = replaceAuotes(expression, quto_markParser, quto_mark);
|
||||||
expression = replaceAuotes(expression, quoParser, quote);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.documentation</artifactId>
|
<artifactId>org.talend.designer.documentation</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.filemultischemas</artifactId>
|
<artifactId>org.talend.designer.filemultischemas</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.fileoutputxml</artifactId>
|
<artifactId>org.talend.designer.fileoutputxml</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.gefabstractmap</artifactId>
|
<artifactId>org.talend.designer.gefabstractmap</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.mapper.advanced</artifactId>
|
<artifactId>org.talend.designer.mapper.advanced</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.mapper</artifactId>
|
<artifactId>org.talend.designer.mapper</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.maven.job</artifactId>
|
<artifactId>org.talend.designer.maven.job</artifactId>
|
||||||
|
|||||||
@@ -52,6 +52,14 @@
|
|||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
||||||
|
<fileSet><!-- add context resources -->
|
||||||
|
<directory>${resources.path}</directory>
|
||||||
|
<outputDirectory>${file.separator}</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>${talend.job.path}/**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
|
||||||
<fileSet> <!-- add provided-lib -->
|
<fileSet> <!-- add provided-lib -->
|
||||||
<directory>${current.bundle.resources.dir}/provided-lib</directory>
|
<directory>${current.bundle.resources.dir}/provided-lib</directory>
|
||||||
<outputDirectory>lib</outputDirectory>
|
<outputDirectory>lib</outputDirectory>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.publish.core</artifactId>
|
<artifactId>org.talend.designer.publish.core</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.rowgenerator</artifactId>
|
<artifactId>org.talend.designer.rowgenerator</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.runprocess</artifactId>
|
<artifactId>org.talend.designer.runprocess</artifactId>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ package org.talend.designer.runprocess;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@@ -31,7 +32,6 @@ import org.talend.commons.exception.CommonExceptionHandler;
|
|||||||
import org.talend.commons.exception.ExceptionHandler;
|
import org.talend.commons.exception.ExceptionHandler;
|
||||||
import org.talend.commons.exception.PersistenceException;
|
import org.talend.commons.exception.PersistenceException;
|
||||||
import org.talend.commons.exception.SystemException;
|
import org.talend.commons.exception.SystemException;
|
||||||
import org.talend.commons.ui.runtime.exception.MessageBoxExceptionHandler;
|
|
||||||
import org.talend.core.CorePlugin;
|
import org.talend.core.CorePlugin;
|
||||||
import org.talend.core.model.process.IContainerEntry;
|
import org.talend.core.model.process.IContainerEntry;
|
||||||
import org.talend.core.model.process.IProcess;
|
import org.talend.core.model.process.IProcess;
|
||||||
@@ -67,9 +67,10 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
Item item = null;
|
Item item = null;
|
||||||
IProxyRepositoryFactory proxyRepositoryFactory = CorePlugin.getDefault().getRepositoryService()
|
IProxyRepositoryFactory proxyRepositoryFactory =
|
||||||
.getProxyRepositoryFactory();
|
CorePlugin.getDefault().getRepositoryService().getProxyRepositoryFactory();
|
||||||
ITalendSynchronizer synchronizer = CorePlugin.getDefault().getCodeGeneratorService().createRoutineSynchronizer();
|
ITalendSynchronizer synchronizer =
|
||||||
|
CorePlugin.getDefault().getCodeGeneratorService().createRoutineSynchronizer();
|
||||||
|
|
||||||
Set<String> jobIds = new HashSet<String>();
|
Set<String> jobIds = new HashSet<String>();
|
||||||
HashSet<JobInfo> jobInfos = new HashSet<>();
|
HashSet<JobInfo> jobInfos = new HashSet<>();
|
||||||
@@ -94,13 +95,14 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
jobIds.add(item.getProperty().getId());
|
jobIds.add(item.getProperty().getId());
|
||||||
|
|
||||||
// Property property = process.getProperty();
|
|
||||||
Problems.addJobRoutineFile(sourceFile, ProblemType.JOB, item, true);
|
Problems.addJobRoutineFile(sourceFile, ProblemType.JOB, item, true);
|
||||||
}
|
}
|
||||||
if (!CommonsPlugin.isHeadless()) {
|
if (!CommonsPlugin.isHeadless()) {
|
||||||
List<IRepositoryViewObject> routinesObjects = proxyRepositoryFactory.getAll(ERepositoryObjectType.ROUTINES, false);
|
List<IRepositoryViewObject> routinesObjects =
|
||||||
Set<String> dependentRoutines = LastGenerationInfo.getInstance().getRoutinesNeededWithSubjobPerJob(
|
proxyRepositoryFactory.getAll(ERepositoryObjectType.ROUTINES, false);
|
||||||
LastGenerationInfo.getInstance().getLastMainJob().getJobId(),
|
Set<String> dependentRoutines = LastGenerationInfo
|
||||||
|
.getInstance()
|
||||||
|
.getRoutinesNeededWithSubjobPerJob(LastGenerationInfo.getInstance().getLastMainJob().getJobId(),
|
||||||
LastGenerationInfo.getInstance().getLastMainJob().getJobVersion());
|
LastGenerationInfo.getInstance().getLastMainJob().getJobVersion());
|
||||||
if (routinesObjects != null) {
|
if (routinesObjects != null) {
|
||||||
for (IRepositoryViewObject obj : routinesObjects) {
|
for (IRepositoryViewObject obj : routinesObjects) {
|
||||||
@@ -153,11 +155,11 @@ public class JobErrorsChecker {
|
|||||||
|
|
||||||
public static boolean checkExportErrors(IStructuredSelection selection, boolean isJob) {
|
public static boolean checkExportErrors(IStructuredSelection selection, boolean isJob) {
|
||||||
if (!selection.isEmpty()) {
|
if (!selection.isEmpty()) {
|
||||||
final ITalendSynchronizer synchronizer = CorePlugin.getDefault().getCodeGeneratorService()
|
final ITalendSynchronizer synchronizer =
|
||||||
.createRoutineSynchronizer();
|
CorePlugin.getDefault().getCodeGeneratorService().createRoutineSynchronizer();
|
||||||
Set<String> jobIds = new HashSet<String>();
|
Set<String> jobIds = new HashSet<String>();
|
||||||
|
|
||||||
List<RepositoryNode> nodes = selection.toList();
|
List<RepositoryNode> nodes = extractNodes(selection);
|
||||||
if (nodes.size() > 1) {
|
if (nodes.size() > 1) {
|
||||||
// in case it's a multiple export, only check the status of the latest job to export
|
// in case it's a multiple export, only check the status of the latest job to export
|
||||||
for (RepositoryNode node : nodes) {
|
for (RepositoryNode node : nodes) {
|
||||||
@@ -189,22 +191,35 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
if (ret) {
|
if (ret) {
|
||||||
if (isJob) {
|
if (isJob) {
|
||||||
throw new ProcessorException(Messages.getString("JobErrorsChecker_compile_errors") + '\n' + //$NON-NLS-1$
|
throw new ProcessorException(
|
||||||
Messages.getString("JobErrorsChecker_compile_error_content", item.getProperty() //$NON-NLS-1$
|
Messages.getString("JobErrorsChecker_compile_errors") + '\n' + //$NON-NLS-1$
|
||||||
.getLabel()) + '\n' + message);
|
Messages
|
||||||
|
.getString("JobErrorsChecker_compile_error_content", //$NON-NLS-1$
|
||||||
|
item.getProperty().getLabel())
|
||||||
|
+ '\n' + message);
|
||||||
} else {
|
} else {
|
||||||
throw new ProcessorException(Messages.getString("CamelJobErrorsChecker_compile_errors") + '\n' + //$NON-NLS-1$
|
throw new ProcessorException(
|
||||||
Messages.getString("CamelJobErrorsChecker_compile_error_content", item.getProperty() //$NON-NLS-1$
|
Messages.getString("CamelJobErrorsChecker_compile_errors") + '\n' + //$NON-NLS-1$
|
||||||
.getLabel()) + '\n' + message);
|
Messages
|
||||||
|
.getString("CamelJobErrorsChecker_compile_error_content", //$NON-NLS-1$
|
||||||
|
item.getProperty().getLabel())
|
||||||
|
+ '\n' + message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jobIds.add(item.getProperty().getId());
|
jobIds.add(item.getProperty().getId());
|
||||||
|
|
||||||
Problems.addRoutineFile(sourceFile, ProblemType.JOB, item.getProperty().getLabel(), item.getProperty()
|
Problems
|
||||||
.getVersion(), true);
|
.addRoutineFile(sourceFile, ProblemType.JOB, item.getProperty().getLabel(),
|
||||||
|
item.getProperty().getVersion(), true);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
MessageBoxExceptionHandler.process(e);
|
CommonExceptionHandler.process(e);
|
||||||
|
if (CommonsPlugin.isHeadless()) {
|
||||||
|
// [TESB-8953] avoid SWT invoked and also throw Exception let Command Executor to have
|
||||||
|
// detailed
|
||||||
|
// trace in command status.
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,13 +229,12 @@ public class JobErrorsChecker {
|
|||||||
try {
|
try {
|
||||||
checkLastGenerationHasCompilationError(true);
|
checkLastGenerationHasCompilationError(true);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (CommonsPlugin.isHeadless()) {
|
|
||||||
CommonExceptionHandler.process(e);
|
CommonExceptionHandler.process(e);
|
||||||
|
if (CommonsPlugin.isHeadless()) {
|
||||||
// [TESB-8953] avoid SWT invoked and also throw Exception let Command Executor to have detailed
|
// [TESB-8953] avoid SWT invoked and also throw Exception let Command Executor to have detailed
|
||||||
// trace in command status.
|
// trace in command status.
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
MessageBoxExceptionHandler.process(e);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -249,7 +263,12 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
MessageBoxExceptionHandler.process(e);
|
CommonExceptionHandler.process(e);
|
||||||
|
if (CommonsPlugin.isHeadless()) {
|
||||||
|
// [TESB-8953] avoid SWT invoked and also throw Exception let Command Executor to have detailed
|
||||||
|
// trace in command status.
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,9 +283,10 @@ public class JobErrorsChecker {
|
|||||||
boolean hasError = false;
|
boolean hasError = false;
|
||||||
boolean isJob = true;
|
boolean isJob = true;
|
||||||
Item item = null;
|
Item item = null;
|
||||||
final IProxyRepositoryFactory proxyRepositoryFactory = CorePlugin.getDefault().getRepositoryService()
|
final IProxyRepositoryFactory proxyRepositoryFactory =
|
||||||
.getProxyRepositoryFactory();
|
CorePlugin.getDefault().getRepositoryService().getProxyRepositoryFactory();
|
||||||
final ITalendSynchronizer synchronizer = CorePlugin.getDefault().getCodeGeneratorService().createRoutineSynchronizer();
|
final ITalendSynchronizer synchronizer =
|
||||||
|
CorePlugin.getDefault().getCodeGeneratorService().createRoutineSynchronizer();
|
||||||
Integer line = null;
|
Integer line = null;
|
||||||
String errorMessage = null;
|
String errorMessage = null;
|
||||||
try {
|
try {
|
||||||
@@ -299,7 +319,7 @@ public class JobErrorsChecker {
|
|||||||
// one job
|
// one job
|
||||||
final IResource[] members = file.getParent().members();
|
final IResource[] members = file.getParent().members();
|
||||||
for (IResource member : members) {
|
for (IResource member : members) {
|
||||||
if (member instanceof IFile && "java".equals(member.getFileExtension())) {
|
if (member instanceof IFile && "java".equals(member.getFileExtension())) { //$NON-NLS-1$
|
||||||
IMarker[] markers = ((IFile) member).findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ONE);
|
IMarker[] markers = ((IFile) member).findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ONE);
|
||||||
for (IMarker marker : markers) {
|
for (IMarker marker : markers) {
|
||||||
Integer lineNr = (Integer) marker.getAttribute(IMarker.LINE_NUMBER);
|
Integer lineNr = (Integer) marker.getAttribute(IMarker.LINE_NUMBER);
|
||||||
@@ -322,7 +342,8 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (updateProblemsView) {
|
if (updateProblemsView) {
|
||||||
Problems.addRoutineFile(file, ProblemType.JOB, item.getProperty().getLabel(),
|
Problems
|
||||||
|
.addRoutineFile(file, ProblemType.JOB, item.getProperty().getLabel(),
|
||||||
item.getProperty().getVersion(), true);
|
item.getProperty().getVersion(), true);
|
||||||
}
|
}
|
||||||
if (hasError) {
|
if (hasError) {
|
||||||
@@ -335,17 +356,17 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
if (hasError && item != null) {
|
if (hasError && item != null) {
|
||||||
if (isJob) {
|
if (isJob) {
|
||||||
throw new ProcessorException(Messages.getString("JobErrorsChecker_compile_errors") + " " + '\n' + //$NON-NLS-1$
|
throw new ProcessorException(Messages.getString("JobErrorsChecker_compile_errors") + ' ' + '\n' + //$NON-NLS-1$
|
||||||
Messages.getString("JobErrorsChecker_compile_error_message", item.getProperty().getLabel()) + '\n' //$NON-NLS-1$
|
Messages.getString("JobErrorsChecker_compile_error_message", item.getProperty().getLabel()) //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + line + '\n' //$NON-NLS-1$
|
+ '\n' + Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + line + '\n' //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' + errorMessage + '\n' //$NON-NLS-1$
|
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' + errorMessage //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_jvmmessage")); //$NON-NLS-1$
|
+ '\n' + Messages.getString("JobErrorsChecker_compile_error_jvmmessage")); //$NON-NLS-1$
|
||||||
} else {
|
} else {
|
||||||
throw new ProcessorException(Messages.getString("CamelJobErrorsChecker_compile_errors") + " " + '\n' + //$NON-NLS-1$
|
throw new ProcessorException(Messages.getString("CamelJobErrorsChecker_compile_errors") + ' ' + '\n' + //$NON-NLS-1$
|
||||||
Messages.getString("JobErrorsChecker_compile_error_message", item.getProperty().getLabel()) + '\n' //$NON-NLS-1$
|
Messages.getString("JobErrorsChecker_compile_error_message", item.getProperty().getLabel()) //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + line + '\n' //$NON-NLS-1$
|
+ '\n' + Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + line + '\n' //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' + errorMessage + '\n' //$NON-NLS-1$
|
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' + errorMessage //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_jvmmessage")); //$NON-NLS-1$
|
+ '\n' + Messages.getString("JobErrorsChecker_compile_error_jvmmessage")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -356,6 +377,7 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void checkRoutinesCompilationError() throws ProcessorException {
|
private static void checkRoutinesCompilationError() throws ProcessorException {
|
||||||
|
|
||||||
if(LastGenerationInfo.getInstance() == null || LastGenerationInfo.getInstance().getLastMainJob() == null) {
|
if(LastGenerationInfo.getInstance() == null || LastGenerationInfo.getInstance().getLastMainJob() == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -368,25 +390,28 @@ public class JobErrorsChecker {
|
|||||||
for (Problem p : errors) {
|
for (Problem p : errors) {
|
||||||
if (p instanceof TalendProblem) {
|
if (p instanceof TalendProblem) {
|
||||||
TalendProblem talendProblem = (TalendProblem) p;
|
TalendProblem talendProblem = (TalendProblem) p;
|
||||||
if (talendProblem.getType() == ProblemType.ROUTINE && dependentRoutines.contains(talendProblem.getJavaUnitName())) {
|
if (talendProblem.getType() == ProblemType.ROUTINE
|
||||||
|
&& dependentRoutines.contains(talendProblem.getJavaUnitName())) {
|
||||||
int line = talendProblem.getLineNumber();
|
int line = talendProblem.getLineNumber();
|
||||||
String errorMessage = talendProblem.getDescription();
|
String errorMessage = talendProblem.getDescription();
|
||||||
throw new ProcessorException(Messages.getString(
|
throw new ProcessorException(Messages
|
||||||
"JobErrorsChecker_routines_compile_errors", talendProblem.getJavaUnitName()) + '\n'//$NON-NLS-1$
|
.getString("JobErrorsChecker_routines_compile_errors", talendProblem.getJavaUnitName()) //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + line + '\n' //$NON-NLS-1$
|
+ '\n' + Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + line + '\n' //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' + errorMessage); //$NON-NLS-1$
|
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' //$NON-NLS-1$
|
||||||
|
+ errorMessage);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// for now not to check components errors when building jobs in studio/commandline
|
// for now not to check components errors when building jobs in studio/commandline
|
||||||
// throw new ProcessorException(Messages.getString("JobErrorsChecker_jobDesign_errors", p.getType().getTypeName(), //$NON-NLS-1$
|
// throw new ProcessorException(Messages.getString("JobErrorsChecker_jobDesign_errors",
|
||||||
|
// p.getType().getTypeName(), //$NON-NLS-1$
|
||||||
// p.getJobInfo().getJobName(), p.getComponentName(), p.getDescription()));
|
// p.getJobInfo().getJobName(), p.getComponentName(), p.getDescription()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if can't find the routines problem, try to check the file directly(mainly for commandline)
|
// if can't find the routines problem, try to check the file directly(mainly for commandline)
|
||||||
try {
|
try {
|
||||||
final ITalendSynchronizer synchronizer = CorePlugin.getDefault().getCodeGeneratorService()
|
final ITalendSynchronizer synchronizer =
|
||||||
.createRoutineSynchronizer();
|
CorePlugin.getDefault().getCodeGeneratorService().createRoutineSynchronizer();
|
||||||
IProxyRepositoryFactory factory = CorePlugin.getDefault().getProxyRepositoryFactory();
|
IProxyRepositoryFactory factory = CorePlugin.getDefault().getProxyRepositoryFactory();
|
||||||
List<IRepositoryViewObject> routinesObjects = factory.getAll(ERepositoryObjectType.ROUTINES, false);
|
List<IRepositoryViewObject> routinesObjects = factory.getAll(ERepositoryObjectType.ROUTINES, false);
|
||||||
if (routinesObjects != null) {
|
if (routinesObjects != null) {
|
||||||
@@ -407,10 +432,12 @@ public class JobErrorsChecker {
|
|||||||
if (lineNr != null && message != null && severity != null && start != null && end != null) {
|
if (lineNr != null && message != null && severity != null && start != null && end != null) {
|
||||||
switch (severity) {
|
switch (severity) {
|
||||||
case IMarker.SEVERITY_ERROR:
|
case IMarker.SEVERITY_ERROR:
|
||||||
throw new ProcessorException(
|
throw new ProcessorException(Messages
|
||||||
Messages.getString("JobErrorsChecker_routines_compile_errors", property.getLabel()) + '\n'//$NON-NLS-1$
|
.getString("JobErrorsChecker_routines_compile_errors", property.getLabel()) //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' + lineNr + '\n' //$NON-NLS-1$
|
+ '\n' + Messages.getString("JobErrorsChecker_compile_error_line") + ':' + ' ' //$NON-NLS-1$
|
||||||
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") + ':' + ' ' + message); //$NON-NLS-1$
|
+ lineNr + '\n'
|
||||||
|
+ Messages.getString("JobErrorsChecker_compile_error_detailmessage") //$NON-NLS-1$
|
||||||
|
+ ':' + ' ' + message);
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -427,7 +454,6 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void checkShadowFileError(IFile file) throws ProcessorException {
|
public static void checkShadowFileError(IFile file) throws ProcessorException {
|
||||||
try {
|
try {
|
||||||
IMarker[] markers = file.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ONE);
|
IMarker[] markers = file.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_ONE);
|
||||||
@@ -454,7 +480,8 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected static void checkSubJobMultipleVersionsError() throws ProcessorException {
|
protected static void checkSubJobMultipleVersionsError() throws ProcessorException {
|
||||||
if(LastGenerationInfo.getInstance() == null || LastGenerationInfo.getInstance().getLastGeneratedjobs() == null) {
|
if (LastGenerationInfo.getInstance() == null
|
||||||
|
|| LastGenerationInfo.getInstance().getLastGeneratedjobs() == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Set<JobInfo> jobInfos = LastGenerationInfo.getInstance().getLastGeneratedjobs();
|
Set<JobInfo> jobInfos = LastGenerationInfo.getInstance().getLastGeneratedjobs();
|
||||||
@@ -483,4 +510,14 @@ public class JobErrorsChecker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static List<RepositoryNode> extractNodes(IStructuredSelection selection) {
|
||||||
|
List<RepositoryNode> nodes = new ArrayList<>();
|
||||||
|
for (Iterator<?> iterator = selection.iterator(); iterator.hasNext();) {
|
||||||
|
Object o = iterator.next();
|
||||||
|
if (o instanceof RepositoryNode)
|
||||||
|
nodes.add((RepositoryNode) o);
|
||||||
|
}
|
||||||
|
return nodes;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ import org.talend.commons.exception.SystemException;
|
|||||||
import org.talend.commons.ui.runtime.exception.RuntimeExceptionHandler;
|
import org.talend.commons.ui.runtime.exception.RuntimeExceptionHandler;
|
||||||
import org.talend.commons.utils.generation.JavaUtils;
|
import org.talend.commons.utils.generation.JavaUtils;
|
||||||
import org.talend.commons.utils.resource.FileExtensions;
|
import org.talend.commons.utils.resource.FileExtensions;
|
||||||
|
import org.talend.commons.utils.system.EnvironmentUtils;
|
||||||
import org.talend.core.CorePlugin;
|
import org.talend.core.CorePlugin;
|
||||||
import org.talend.core.GlobalServiceRegister;
|
import org.talend.core.GlobalServiceRegister;
|
||||||
import org.talend.core.PluginChecker;
|
import org.talend.core.PluginChecker;
|
||||||
@@ -273,7 +274,7 @@ public class JavaProcessor extends AbstractJavaProcessor implements IJavaBreakpo
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean isGuessSchemaJob(Property property) {
|
private boolean isGuessSchemaJob(Property property) {
|
||||||
return "ID".equals(property.getId()) && "Mock_job_for_Guess_schema".equals(property.getLabel()); //$NON-NLS-1$ //$NON-NLS-2$
|
return property != null && "ID".equals(property.getId()) && "Mock_job_for_Guess_schema".equals(property.getLabel()); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -1180,7 +1181,17 @@ public class JavaProcessor extends AbstractJavaProcessor implements IJavaBreakpo
|
|||||||
list.addAll(Arrays.asList(cmd2));
|
list.addAll(Arrays.asList(cmd2));
|
||||||
return list.toArray(new String[0]);
|
return list.toArray(new String[0]);
|
||||||
} else {
|
} else {
|
||||||
return cmd2;
|
List<String> asList = convertArgsToList(cmd2);
|
||||||
|
if ((!isExternalUse() && isStandardJob()) || isGuessSchemaJob(property)) {
|
||||||
|
String localM2Path = "-Dtalend.component.manager.m2.repository="; //$NON-NLS-1$
|
||||||
|
if (EnvironmentUtils.isWindowsSystem()) {
|
||||||
|
localM2Path = localM2Path + PomUtil.getLocalRepositoryPath().replaceAll("%20", " "); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
|
} else {
|
||||||
|
localM2Path = localM2Path + PomUtil.getLocalRepositoryPath();
|
||||||
|
}
|
||||||
|
asList.add(3, localM2Path);
|
||||||
|
}
|
||||||
|
return asList.toArray(new String[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1461,19 +1472,20 @@ public class JavaProcessor extends AbstractJavaProcessor implements IJavaBreakpo
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
useRelativeClasspath = hasCXFComponent;
|
||||||
IFolder execPath = talendJavaProject.getTargetFolder();
|
IFolder execPath = talendJavaProject.getTargetFolder();
|
||||||
for (ModuleNeeded neededModule : neededModules) {
|
for (ModuleNeeded neededModule : neededModules) {
|
||||||
MavenArtifact artifact = MavenUrlHelper.parseMvnUrl(neededModule.getMavenUri());
|
MavenArtifact artifact = MavenUrlHelper.parseMvnUrl(neededModule.getMavenUri());
|
||||||
String relativeJarPath = JavaProcessorUtilities.getJavaProjectLibFolder2()
|
IPath jarPath = JavaProcessorUtilities.getJavaProjectLibFolder2()
|
||||||
.getFile(MavenUrlHelper.generateModuleNameByMavenURI(neededModule.getMavenUri())).getLocation()
|
.getFile(MavenUrlHelper.generateModuleNameByMavenURI(neededModule.getMavenUri())).getLocation();
|
||||||
.makeRelativeTo(execPath.getLocation())
|
|
||||||
.toPortableString();
|
|
||||||
String artifactId = artifact.getArtifactId();
|
String artifactId = artifact.getArtifactId();
|
||||||
boolean hasSapjco3 = "sapjco3".equals(artifactId) && compareSapjco3Version(relativeJarPath) > 0; //$NON-NLS-1$
|
boolean hasSapjco3 = "sapjco3".equals(artifactId) //$NON-NLS-1$
|
||||||
|
&& compareSapjco3Version(jarPath.toPortableString()) > 0;
|
||||||
boolean hasSapidoc3 = "sapidoc3".equals(artifactId); //$NON-NLS-1$
|
boolean hasSapidoc3 = "sapidoc3".equals(artifactId); //$NON-NLS-1$
|
||||||
useRelativeClasspath = hasCXFComponent || hasSapjco3 || hasSapidoc3;
|
if (hasCXFComponent) {
|
||||||
if (useRelativeClasspath) {
|
libPath.append(jarPath.makeRelativeTo(execPath.getLocation()).toPortableString()).append(classPathSeparator);
|
||||||
libPath.append(relativeJarPath).append(classPathSeparator);
|
} else if (hasSapjco3 || hasSapidoc3) {
|
||||||
|
libPath.append(jarPath.toPortableString()).append(classPathSeparator);
|
||||||
} else {
|
} else {
|
||||||
libPath.append(PomUtil.getAbsArtifactPathAsCP(artifact)).append(classPathSeparator);
|
libPath.append(PomUtil.getAbsArtifactPathAsCP(artifact)).append(classPathSeparator);
|
||||||
}
|
}
|
||||||
@@ -1913,6 +1925,42 @@ public class JavaProcessor extends AbstractJavaProcessor implements IJavaBreakpo
|
|||||||
copyEsbConfigFile(esbConfigsSourceFolder, esbConfigsTargetFolder, "oidc.properties"); //$NON-NLS-1$
|
copyEsbConfigFile(esbConfigsSourceFolder, esbConfigsTargetFolder, "oidc.properties"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
|
ITalendProcessJavaProject tProcessJvaProject = this.getTalendJavaProject();
|
||||||
|
if (tProcessJvaProject == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Item item = property.getItem();
|
||||||
|
IFolder externalResourcesFolder = tProcessJvaProject.getExternalResourcesFolder();
|
||||||
|
IFolder resourcesFolder = tProcessJvaProject.getResourcesFolder();
|
||||||
|
String jobClassPackageFolder = JavaResourcesHelper.getJobClassPackageFolder(item, false);
|
||||||
|
IPath jobContextFolderPath = new Path(jobClassPackageFolder).append(JavaUtils.JAVA_CONTEXTS_DIRECTORY);
|
||||||
|
|
||||||
|
IFolder extResourcePath = externalResourcesFolder.getFolder(jobContextFolderPath);
|
||||||
|
IFolder resourcesPath = resourcesFolder.getFolder(jobContextFolderPath);
|
||||||
|
|
||||||
|
if(!resourcesPath.exists()) {
|
||||||
|
tProcessJvaProject.createSubFolder(null, resourcesFolder, jobContextFolderPath.toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
resourcesPath.refreshLocal(IResource.DEPTH_INFINITE, null);
|
||||||
|
|
||||||
|
for (IResource resource : extResourcePath.members()) {
|
||||||
|
IFile context = resourcesPath.getFile(resource.getName());
|
||||||
|
|
||||||
|
if (context.exists()) {
|
||||||
|
context.delete(true, null);
|
||||||
|
}
|
||||||
|
resource.copy(context.getFullPath(), true, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
resourcesPath.refreshLocal(IResource.DEPTH_INFINITE, null);
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,10 +14,12 @@ package org.talend.designer.runprocess.maven;
|
|||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.apache.commons.lang.ArrayUtils;
|
import org.apache.commons.lang.ArrayUtils;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.eclipse.core.resources.IFile;
|
import org.eclipse.core.resources.IFile;
|
||||||
import org.eclipse.core.resources.IFolder;
|
import org.eclipse.core.resources.IFolder;
|
||||||
import org.eclipse.core.resources.IResource;
|
import org.eclipse.core.resources.IResource;
|
||||||
@@ -26,15 +28,20 @@ import org.eclipse.core.runtime.IPath;
|
|||||||
import org.eclipse.core.runtime.IProgressMonitor;
|
import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
import org.eclipse.core.runtime.Platform;
|
import org.eclipse.core.runtime.Platform;
|
||||||
import org.talend.commons.exception.ExceptionHandler;
|
import org.talend.commons.exception.ExceptionHandler;
|
||||||
|
import org.talend.commons.exception.PersistenceException;
|
||||||
import org.talend.commons.ui.runtime.CommonUIPlugin;
|
import org.talend.commons.ui.runtime.CommonUIPlugin;
|
||||||
import org.talend.commons.utils.generation.JavaUtils;
|
import org.talend.commons.utils.generation.JavaUtils;
|
||||||
import org.talend.commons.utils.resource.FileExtensions;
|
import org.talend.commons.utils.resource.FileExtensions;
|
||||||
|
import org.talend.core.GlobalServiceRegister;
|
||||||
|
import org.talend.core.IESBService;
|
||||||
import org.talend.core.model.process.IProcess;
|
import org.talend.core.model.process.IProcess;
|
||||||
import org.talend.core.model.process.JobInfo;
|
import org.talend.core.model.process.JobInfo;
|
||||||
import org.talend.core.model.process.ProcessUtils;
|
import org.talend.core.model.process.ProcessUtils;
|
||||||
import org.talend.core.model.properties.Property;
|
import org.talend.core.model.properties.Property;
|
||||||
import org.talend.core.model.repository.ERepositoryObjectType;
|
import org.talend.core.model.repository.ERepositoryObjectType;
|
||||||
|
import org.talend.core.model.repository.IRepositoryViewObject;
|
||||||
import org.talend.core.model.utils.JavaResourcesHelper;
|
import org.talend.core.model.utils.JavaResourcesHelper;
|
||||||
|
import org.talend.core.repository.model.ProxyRepositoryFactory;
|
||||||
import org.talend.core.repository.utils.ItemResourceUtil;
|
import org.talend.core.repository.utils.ItemResourceUtil;
|
||||||
import org.talend.core.runtime.process.ITalendProcessJavaProject;
|
import org.talend.core.runtime.process.ITalendProcessJavaProject;
|
||||||
import org.talend.core.runtime.process.LastGenerationInfo;
|
import org.talend.core.runtime.process.LastGenerationInfo;
|
||||||
@@ -58,6 +65,7 @@ import org.talend.designer.runprocess.ProcessorException;
|
|||||||
import org.talend.designer.runprocess.ProcessorUtilities;
|
import org.talend.designer.runprocess.ProcessorUtilities;
|
||||||
import org.talend.designer.runprocess.java.JavaProcessor;
|
import org.talend.designer.runprocess.java.JavaProcessor;
|
||||||
import org.talend.repository.i18n.Messages;
|
import org.talend.repository.i18n.Messages;
|
||||||
|
import org.talend.repository.model.IProxyRepositoryFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* created by ggu on 2 Feb 2015 Detailled comment
|
* created by ggu on 2 Feb 2015 Detailled comment
|
||||||
@@ -303,6 +311,30 @@ public class MavenJavaProcessor extends JavaProcessor {
|
|||||||
|
|
||||||
buildTypeName = exportType != null ? exportType.toString() : null;
|
buildTypeName = exportType != null ? exportType.toString() : null;
|
||||||
|
|
||||||
|
if (StringUtils.isBlank(buildTypeName) && GlobalServiceRegister.getDefault().isServiceRegistered(IESBService.class)) {
|
||||||
|
List<IRepositoryViewObject> serviceRepoList = null;
|
||||||
|
|
||||||
|
IESBService service = (IESBService) GlobalServiceRegister.getDefault().getService(IESBService.class);
|
||||||
|
|
||||||
|
try {
|
||||||
|
IProxyRepositoryFactory factory = ProxyRepositoryFactory.getInstance();
|
||||||
|
serviceRepoList = factory.getAll(ERepositoryObjectType.valueOf(ERepositoryObjectType.class, "SERVICES"));
|
||||||
|
|
||||||
|
for (IRepositoryViewObject serviceItem : serviceRepoList) {
|
||||||
|
if (service != null) {
|
||||||
|
List<String> jobIds = service.getSerivceRelatedJobIds(serviceItem.getProperty().getItem());
|
||||||
|
if (jobIds.contains(itemProperty.getId())) {
|
||||||
|
buildTypeName = "OSGI";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch (PersistenceException e) {
|
||||||
|
ExceptionHandler.process(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Map<String, Object> parameters = new HashMap<String, Object>();
|
Map<String, Object> parameters = new HashMap<String, Object>();
|
||||||
parameters.put(IBuildParametes.ITEM, itemProperty.getItem());
|
parameters.put(IBuildParametes.ITEM, itemProperty.getItem());
|
||||||
parameters.put(IBuildPomCreatorParameters.PROCESSOR, this);
|
parameters.put(IBuildPomCreatorParameters.PROCESSOR, this);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.runtime.visualization.tools</artifactId>
|
<artifactId>org.talend.designer.runtime.visualization.tools</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.runtime.visualization</artifactId>
|
<artifactId>org.talend.designer.runtime.visualization</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.scd</artifactId>
|
<artifactId>org.talend.designer.scd</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.spss</artifactId>
|
<artifactId>org.talend.designer.spss</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.tutorials</artifactId>
|
<artifactId>org.talend.designer.tutorials</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.unifiedcomponent</artifactId>
|
<artifactId>org.talend.designer.unifiedcomponent</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.webservice</artifactId>
|
<artifactId>org.talend.designer.webservice</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.designer.xmlmap</artifactId>
|
<artifactId>org.talend.designer.xmlmap</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.expressionbuilder</artifactId>
|
<artifactId>org.talend.expressionbuilder</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.asm</artifactId>
|
<artifactId>org.talend.libraries.asm</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.crm</artifactId>
|
<artifactId>org.talend.libraries.crm</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.css</artifactId>
|
<artifactId>org.talend.libraries.css</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.custom</artifactId>
|
<artifactId>org.talend.libraries.custom</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.edifact</artifactId>
|
<artifactId>org.talend.libraries.edifact</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.ehcache</artifactId>
|
<artifactId>org.talend.libraries.ehcache</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.excel</artifactId>
|
<artifactId>org.talend.libraries.excel</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.talend.studio</groupId>
|
<groupId>org.talend.studio</groupId>
|
||||||
<artifactId>tdi-studio-se</artifactId>
|
<artifactId>tdi-studio-se</artifactId>
|
||||||
<version>7.2.1-SNAPSHOT</version>
|
<version>7.2.1</version>
|
||||||
<relativePath>../../../</relativePath>
|
<relativePath>../../../</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>org.talend.libraries.ftp</artifactId>
|
<artifactId>org.talend.libraries.ftp</artifactId>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user