|
|
@ -412,6 +412,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/scripts"/>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/scripts"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Default sample-->
|
|
|
|
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/conf/iot"/>
|
|
|
|
|
|
|
|
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/statistics"/>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/statistics"/>
|
|
|
|
|
|
|
|
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/patches"/>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/patches"/>
|
|
|
@ -420,7 +423,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps"
|
|
|
|
overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
<fileset dir="src/repository/jaggeryapps"></fileset>
|
|
|
|
<fileset dir="src/repository/jaggeryapps"/>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/samples"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/samples"
|
|
|
@ -428,6 +431,12 @@
|
|
|
|
<fileset dir="src/samples"/>
|
|
|
|
<fileset dir="src/samples"/>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Default sample-->
|
|
|
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/iot"
|
|
|
|
|
|
|
|
overwrite="true">
|
|
|
|
|
|
|
|
<fileset file="../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/iot-config.xml"/>
|
|
|
|
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/sketches"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/sketches"
|
|
|
|
overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
<fileset dir="src/sketches"/>
|
|
|
|
<fileset dir="src/sketches"/>
|
|
|
@ -468,6 +477,28 @@
|
|
|
|
<goal>run</goal>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<!--Default sample-->
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
|
|
<id>install_samples</id>
|
|
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<tasks>
|
|
|
|
|
|
|
|
<subant target="deploy">
|
|
|
|
|
|
|
|
<fileset dir="target/wso2carbon-core-${carbon.kernel.version}/samples/arduino" includes="build.xml"/>
|
|
|
|
|
|
|
|
</subant>
|
|
|
|
|
|
|
|
<subant target="deploy">
|
|
|
|
|
|
|
|
<fileset dir="target/wso2carbon-core-${carbon.kernel.version}/samples/raspberrypi" includes="build.xml"/>
|
|
|
|
|
|
|
|
</subant>
|
|
|
|
|
|
|
|
<copy todir="../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/"
|
|
|
|
|
|
|
|
overwrite="true">
|
|
|
|
|
|
|
|
<fileset file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/iot/iot-config.xml"/>
|
|
|
|
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
</tasks>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<execution>
|
|
|
|
<id>clean_target</id>
|
|
|
|
<id>clean_target</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<phase>install</phase>
|
|
|
@ -479,7 +510,6 @@
|
|
|
|
<delete dir="target/dependency-maven-plugin-markers"/>
|
|
|
|
<delete dir="target/dependency-maven-plugin-markers"/>
|
|
|
|
<delete dir="target/maven-archiver"/>
|
|
|
|
<delete dir="target/maven-archiver"/>
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
|
|
|
|
|
|
|
|
<delete file="target/wso2dc-${project.version}.jar"/>
|
|
|
|
<delete file="target/wso2dc-${project.version}.jar"/>
|
|
|
|
<delete dir="target/sources"/>
|
|
|
|
<delete dir="target/sources"/>
|
|
|
|
<delete dir="target/site"/>
|
|
|
|
<delete dir="target/site"/>
|
|
|
|