TUP-2580: change the sqltemplates to resources folder.
This commit is contained in:
@@ -78,7 +78,7 @@ public final class JavaUtils {
|
||||
public static final String JAVA_SQLPATTERNS_DIRECTORY = "sqltemplates"; //$NON-NLS-1$
|
||||
|
||||
/** Java Routines Directory. */
|
||||
public static final String JAVA_SYSTEM_ROUTINES_DIRECTORY = "system"; //$NON-NLS-1$
|
||||
public static final String JAVA_SYSTEM_DIRECTORY = "system"; //$NON-NLS-1$
|
||||
|
||||
/** Java Routines api Directory. */
|
||||
public static final String JAVA_SYSTEM_ROUTINES_API_DIRECTORY = "api"; //$NON-NLS-1$
|
||||
|
||||
@@ -63,7 +63,9 @@ public interface ICodeGeneratorService extends IService {
|
||||
* yzhang Comment method "creatPerlRoutineSynchronizer".
|
||||
*
|
||||
* @return
|
||||
* @deprecated no perl yet.
|
||||
*/
|
||||
@Deprecated
|
||||
public ITalendSynchronizer createPerlRoutineSynchronizer();
|
||||
|
||||
/**
|
||||
|
||||
@@ -80,9 +80,13 @@ public final class TalendJavaSourceProjectUtil {
|
||||
protected Model getModel() {
|
||||
Model model = super.getModel();
|
||||
Properties p = new Properties();
|
||||
// TODO, need change the default compiler version(1.5)? or try maven-compiler-plugin?
|
||||
p.put("maven.compiler.source", "1.6");
|
||||
p.put("maven.compiler.target", "1.6");
|
||||
/**
|
||||
* TODO, need change the default compiler version(1.5)? or try maven-compiler-plugin?
|
||||
*
|
||||
* same version as jet compile, @see TalendJetEmitter.getBatchCompilerCmd
|
||||
*/
|
||||
p.put("maven.compiler.source", JavaCore.VERSION_1_6);
|
||||
p.put("maven.compiler.target", JavaCore.VERSION_1_6);
|
||||
model.setProperties(p);
|
||||
|
||||
return model;
|
||||
|
||||
Reference in New Issue
Block a user