|
|
@ -410,14 +410,13 @@
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps"/>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Make samples directory for distribution-->
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/samples"/>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/samples"/>
|
|
|
|
|
|
|
|
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/sketches"/>
|
|
|
|
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/sketches"/>
|
|
|
|
|
|
|
|
|
|
|
|
<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}/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"/>
|
|
|
@ -429,9 +428,14 @@
|
|
|
|
<fileset dir="src/repository/jaggeryapps"/>
|
|
|
|
<fileset dir="src/repository/jaggeryapps"/>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Copy samples to distribution-->
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/samples"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/samples"
|
|
|
|
overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
<fileset dir="src/samples"/>
|
|
|
|
<fileset dir="src/samples">
|
|
|
|
|
|
|
|
<exclude name="**/*.iml"/>
|
|
|
|
|
|
|
|
<exclude name="**/.DS_Store"/>
|
|
|
|
|
|
|
|
<exclude name="**/target/"/>
|
|
|
|
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/sketches"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/resources/sketches"
|
|
|
@ -475,7 +479,7 @@
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
|
|
|
|
<!--Default sample-->
|
|
|
|
<!--Install default samples-->
|
|
|
|
<execution>
|
|
|
|
<execution>
|
|
|
|
<id>install_samples</id>
|
|
|
|
<id>install_samples</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<phase>package</phase>
|
|
|
@ -500,6 +504,7 @@
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
<move file="target/wso2carbon-core-${carbon.kernel.version}/samples/arduino/build.xml" toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/arduino/build.xml.disable"/>
|
|
|
|
<move file="target/wso2carbon-core-${carbon.kernel.version}/samples/arduino/build.xml" toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/arduino/build.xml.disable"/>
|
|
|
|
<move file="target/wso2carbon-core-${carbon.kernel.version}/samples/raspberrypi/build.xml" toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/raspberrypi/build.xml.disable"/>
|
|
|
|
<move file="target/wso2carbon-core-${carbon.kernel.version}/samples/raspberrypi/build.xml" toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/raspberrypi/build.xml.disable"/>
|
|
|
|
|
|
|
|
<move file="target/wso2carbon-core-${carbon.kernel.version}/samples/sample_pom.xml" toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/pom.xml" overwrite="true"/>
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goals>
|
|
|
|