Skip to content
Snippets Groups Projects
Commit 1da83d81 authored by Ernesto Corbellini's avatar Ernesto Corbellini
Browse files

Added launch file with test target.

parent 9c77e29e
Branches
Tags
No related merge requests found
<launch>
<node pkg="actionlib_tutorials" type="fibonacci_server" name="fibonacci_server"/>
<test pkg="rosjava_actionlib" type="execute" test-name="rosjava_actionlib" args="com.github.ekumen.rosjava_actionlib.TestClient"/>
</launch>
......@@ -37,3 +37,15 @@ dependencies {
compile 'org.ros.rosjava_messages:actionlib_tutorials:[0.1,)'
}
task deployApp(dependsOn: 'installApp') << {
File binDir = new File(project.projectDir, '/bin')
if (! binDir.isDirectory()) {
println "Creating $binDir directory"
binDir.mkdirs()
}
File link = new File(binDir,"execute")
File target = new File(project.projectDir, "build/install/$project.name/bin/$project.name")
println "Creating symlink from $link.absolutePath to $target.absolutePath"
ant.symlink(link: link.absolutePath, resource: target.absolutePath)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment