mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Set to build firealarm virtual agent from source in git
This commit is contained in:
parent
f8dca4dd8f
commit
a73cf7213d
@ -62,7 +62,19 @@
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="deploy" depends="create-db,build">
|
||||
<target name="build-agent">
|
||||
<echo message="Downloading agent source...." />
|
||||
<exec dir="." executable="sh">
|
||||
<arg line="-c 'svn checkout https://github.com/wso2-incubator/iot-server-agents/trunk/FireAlarmVirtualAgent'" />
|
||||
</exec>
|
||||
<echo message="building agent from source" />
|
||||
<exec dir="FireAlarmVirtualAgent" executable="sh">
|
||||
<arg line="-c 'mvn clean install'" />
|
||||
</exec>
|
||||
<copy file="FireAlarmVirtualAgent/target/wso2-firealarm-virtual-agent.jar" todir="sketch"/>
|
||||
</target>
|
||||
|
||||
<target name="deploy" depends="create-db,build-agent,build">
|
||||
<copy toDir="${target.sketch.dir}/${sample_type}">
|
||||
<fileset dir="sketch"/>
|
||||
</copy>
|
||||
|
||||
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
templates=deviceConfig.properties
|
||||
zipfilename=FireAlarmAgent.zip
|
||||
zipfilename=FireAlarmVirtualAgent.zip
|
||||
|
||||
@ -34,7 +34,7 @@ while true; do
|
||||
done
|
||||
|
||||
|
||||
java -jar firealarm-virtual-agent-1.0-SNAPSHOT-jar-with-dependencies.jar
|
||||
java -jar wso2-firealarm-virtual-agent.jar
|
||||
|
||||
#while true; do
|
||||
# read -p "Do you wish to run 'apt-get update' and continue? [Yes/No] " yn
|
||||
|
||||
Loading…
Reference in New Issue
Block a user