...
- Clone the CDAP project, if not done already
git clone git@githubclone git@github.com:caskdatacdapio/cdap.git
- Open IntelliJ and import the CDAP project
- Go to menu
File -> Import Project ...
- Select the
pom.xml
under the CDAP directory - Check
Import Maven projects automatically
andAutomatically download: Sources, Documentations
boxes in theImport Project from Maven
popup. - Click next and the new CDAP project will be created.
- Go to menu
...
Build and run Local Standalone CDAP
...
Code Block | ||
---|---|---|
| ||
cd <path_to_cdap_repo> MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" mvn package -pl cdap-standalone,cdap-app-templates/cdap-etl,cdap-examples -am -amd -DskipTests -P examples,templates,dist,release,unit-tests cd cdap-standalone/target unzip cdap-sdk-<version>-SNAPSHOT.zip && cd cdap-sdk-<version>-SNAPSHOT cd bin ./cdap.sh start |
...