Skip to content
Snippets Groups Projects
Commit 51c71a3c authored by Damon Kohler's avatar Damon Kohler
Browse files

Create new rosjava_tutorial_pubsub package.

Move org.ros.rosjava.tutorials to new package.
parent 54f92345
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<export> <export>
<rosjava-src location="src/main/java" /> <rosjava-src location="src/main/java" />
<rosjava-src location="src/test/java" /> <rosjava-src location="src/test/java" />
<rosjava-src location="src/tutorials/java" />
<rosjava-src location="src/test/resources" scope="test" /> <rosjava-src location="src/test/resources" scope="test" />
<rosjava-pathelement location="target/" groupId="org.ros" artifactId="org.ros.rosjava" version="0.0.0" built="true" /> <rosjava-pathelement location="target/" groupId="org.ros" artifactId="org.ros.rosjava" version="0.0.0" built="true" />
......
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
# Set the build type. Options are:
# Coverage : w/ debug symbols, w/o optimization, w/ code-coverage
# Debug : w/ debug symbols, w/o optimization
# Release : w/o debug symbols, w/ optimization
# RelWithDebInfo : w/ debug symbols, w/ optimization
# MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries
#set(ROS_BUILD_TYPE RelWithDebInfo)
rosbuild_init()
#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
#uncomment if you have defined messages
#rosbuild_genmsg()
#uncomment if you have defined services
#rosbuild_gensrv()
#common commands for building c++ executables and libraries
#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
#target_link_libraries(${PROJECT_NAME} another_library)
#rosbuild_add_boost_directories()
#rosbuild_link_boost(${PROJECT_NAME} thread)
#rosbuild_add_executable(example examples/example.cpp)
#target_link_libraries(example ${PROJECT_NAME})
include $(shell rospack find rosjava_bootstrap)/rosjava.mk
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="default" name="java">
<property file="ros.properties" />
<include file="dependencies.xml" />
<property name="src.main" location="src/main/java" />
<property name="build.main" location="target/classes" />
<property name="dist" location="target" />
<property name="javac-source" value="1.6" />
<property name="javac-target" value="1.6" />
<property name="debuglevel" value="source,lines,vars" />
<property name="jar" location="${ros.artifact.built}" />
<path id="classpath">
<pathelement path="${ros.compile.classpath}" />
</path>
<path id="test.classpath">
<path refid="classpath" />
<pathelement path="${build.main}" />
<pathelement path="${build.test}" />
<pathelement path="${ros.test.classpath}" />
</path>
<target name="default" depends="init, compile, jar" />
<target name="init">
<fail unless="ros.compile.classpath" message="ros.properties is missing. Run 'rosmake rosjava' first."/>
<mkdir dir="${build.main}" />
<mkdir dir="${dist}" />
</target>
<target name="compile" depends="init">
<javac debug="true" debuglevel="${debuglevel}" destdir="${build.main}" source="${javac-source}"
target="${javac-target}" includeantruntime="false">
<classpath refid="classpath" />
<src path="${src.main}" />
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="${jar}">
<fileset dir="${build.main}" />
</jar>
</target>
<target name="clean">
<delete dir="${build.main}" />
<delete dir="${dist}" />
</target>
</project>
/**
\mainpage
\htmlinclude manifest.html
\b rosjava_tutorial_pubsub is ...
<!--
Provide an overview of your package.
-->
\section codeapi Code API
<!--
Provide links to specific auto-generated API documentation within your
package that is of particular interest to a reader. Doxygen will
document pretty much every part of your code, so do your best here to
point the reader to the actual API.
If your codebase is fairly large or has different sets of APIs, you
should use the doxygen 'group' tag to keep these APIs together. For
example, the roscpp documentation has 'libros' group.
-->
*/
<package>
<description brief="rosjava_tutorial_pubsub">
rosjava_tutorial_pubsub
</description>
<author>Damon Kohler</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>http://ros.org/wiki/rosjava_tutorial_pubsub</url>
<depend package="rosjava" />
<depend package="std_msgs" />
<export>
<rosjava-src location="src/main/java" />
<rosjava-pathelement location="target/" groupId="org.ros" artifactId="org.ros.rosjava.tutorial.pubsub" version="0.0.0" built="true" />
</export>
</package>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment