Adding [basedir] on dist.xml

application-manager-new
Rasika Perera 8 years ago
parent b70a79b6c4
commit 2ea8aafee8

@ -25,21 +25,21 @@
<fileSets> <fileSets>
<!-- Copying p2 profile and osgi bundles--> <!-- Copying p2 profile and osgi bundles-->
<fileSet> <fileSet>
<directory>target/wso2iot-core-${product.iot.version}/</directory> <directory>${basedir}/target/wso2iot-core-${product.iot.version}/</directory>
<outputDirectory>wso2iot-${product.iot.version}/core</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/core</outputDirectory>
<includes> <includes>
<include>*/**</include> <include>*/**</include>
</includes> </includes>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>target/wso2iot-analytics-${product.iot.version}</directory> <directory>${basedir}/target/wso2iot-analytics-${product.iot.version}</directory>
<outputDirectory>wso2iot-${product.iot.version}/analytics</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/analytics</outputDirectory>
<includes> <includes>
<include>*/**</include> <include>*/**</include>
</includes> </includes>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>target/wso2iot-broker-${product.iot.version}</directory> <directory>${basedir}/target/wso2iot-broker-${product.iot.version}</directory>
<outputDirectory>wso2iot-${product.iot.version}/broker</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/broker</outputDirectory>
<includes> <includes>
<include>*/**</include> <include>*/**</include>
@ -54,7 +54,7 @@
<!--<fileMode>755</fileMode>--> <!--<fileMode>755</fileMode>-->
<!--</fileSet>--> <!--</fileSet>-->
<fileSet> <fileSet>
<directory>src/resources/plugins</directory> <directory>${basedir}/src/resources/plugins</directory>
<outputDirectory>wso2iot-${product.iot.version}/plugins</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/plugins</outputDirectory>
<includes> <includes>
<include>*/**</include> <include>*/**</include>
@ -63,18 +63,22 @@
<filtered>true</filtered> <filtered>true</filtered>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>src/resources/samples</directory> <directory>${basedir}/src/resources/samples</directory>
<outputDirectory>wso2iot-${product.iot.version}/samples</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/samples</outputDirectory>
<includes> <includes>
<include>*/**</include> <include>*/**</include>
</includes> </includes>
<excludes>
<exclude>**/*samples-deployer.xml</exclude>
<exclude>**/*connectedcup/pom.xml</exclude>
</excludes>
<fileMode>644</fileMode> <fileMode>644</fileMode>
</fileSet> </fileSet>
</fileSets> </fileSets>
<files> <files>
<file> <file>
<source> <source>
src/resources/samples/samples-deployer.xml ${basedir}/src/resources/samples/samples-deployer.xml
</source> </source>
<outputDirectory>wso2iot-${product.iot.version}/samples/</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/samples/</outputDirectory>
<filtered>true</filtered> <filtered>true</filtered>
@ -82,7 +86,7 @@
</file> </file>
<file> <file>
<source> <source>
src/resources/samples/connectedcup/pom.xml ${basedir}/src/resources/samples/connectedcup/pom.xml
</source> </source>
<outputDirectory>wso2iot-${product.iot.version}/samples/connectedcup</outputDirectory> <outputDirectory>wso2iot-${product.iot.version}/samples/connectedcup</outputDirectory>
<filtered>true</filtered> <filtered>true</filtered>

Loading…
Cancel
Save