Package caseine.project
Class CaseineCppProject
java.lang.Object
caseine.project.CaseineCommonProject
caseine.project.CaseineCppProject
- All Implemented Interfaces:
CaseineProject
The base class for python projects.
- Author:
- christophe
-
Nested Class Summary
Nested classes/interfaces inherited from interface caseine.project.CaseineProject
CaseineProject.ProjectType -
Field Summary
Fields inherited from class caseine.project.CaseineCommonProject
CASEINE_VPL_ID, CASEINE_VPL_TYPE, caseineFile, CF, EF, INTERNAL_FILE, log, PATH_BIN, PATH_DOC, PATH_RESOURCES_LIB, PATH_RESOURCES_SRC, PATH_RESOURCES_TEST, PATH_SRC, PATH_TEST, PLUGIN_LIB, projectPath, RF, vplId, VPLID_0 -
Constructor Summary
ConstructorsConstructorDescriptionCaseineCppProject(String projectPath, String vplId, String url, String token) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(boolean mvn, int template) Generates the project template.getType()voidlocal(ClassLoader cl) Generates the local caseine templates into caseine-output.Methods inherited from class caseine.project.CaseineCommonProject
clean, documentation, fileToCaseinePath, fillCaseine, fillCaseineProjectFile, getPATH_BIN, getPATH_CORRECTED_FILES, getPATH_EXECUTION_FILES, getPATH_OUTPUT, getPATH_REQUESTED_FILES, getProjectName, getProperties, getVplId, isCaseine, isGenerated, nature, pushMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface caseine.project.CaseineProject
clean, documentation, getVplId, isCaseine, isGenerated, nature, push
-
Constructor Details
-
CaseineCppProject
- Parameters:
projectPath- the pathvplId- the identifier of the VPLurl- the caseine server URLtoken- the caseine token
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceCaseineProject- Overrides:
getTypein classCaseineCommonProject
-
generate
public void generate(boolean mvn, int template) throws CaseineProjectAlreadyExistingException, BadIDEException, IOException, TestDirectoryMissingException, FileMissingException, UnitTestsFileMissingException Generates the project template.- Specified by:
generatein interfaceCaseineProject- Overrides:
generatein classCaseineCommonProject- Parameters:
mvn- True if we must generate the maven pom.xmltemplate-- Throws:
CaseineProjectAlreadyExistingException- if an existing project is presentBadIDEException- if IDE is not supportedIOException- if IO failures occurTestDirectoryMissingException- if the directory of test is not hereUnitTestsFileMissingException- if test file is missingFileMissingException- if the root file is missing
-
local
Generates the local caseine templates into caseine-output.- Specified by:
localin interfaceCaseineProject- Overrides:
localin classCaseineCommonProject- Parameters:
cl- an optional classloader to provide dependencies- Throws:
IOException- for IO issuesClassNotFoundException- if the class is not foundMavenProjectException- if the
-