Skip to content

Commit

Permalink
Merge pull request rosjava#5 from fmessmer/test_noetic
Browse files Browse the repository at this point in the history
test noetic
  • Loading branch information
fmessmer authored Jan 7, 2021
2 parents 28f0a7d + 47a9f7c commit ca92e7c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# CMake
##############################################################################

cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.0.2)
project(genjava)

##############################################################################
Expand Down
28 changes: 15 additions & 13 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<package>
<?xml version="1.0"?>
<?xml-model
href="http://download.ros.org/schema/package_format3.xsd"
schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>genjava</name>
<version>0.3.4</version>
<description>
Expand All @@ -16,18 +20,16 @@
<author>Daniel Stonier</author>

<buildtool_depend version_gte="0.5.78">catkin</buildtool_depend>

<build_depend>genmsg</build_depend>
<build_depend>python-catkin-pkg</build_depend>
<build_depend>python-rospkg</build_depend>
<build_depend>rosjava_bootstrap</build_depend>
<build_depend>rosjava_build_tools</build_depend>

<run_depend>genmsg</run_depend>
<run_depend>python-catkin-pkg</run_depend>
<run_depend>python-rospkg</run_depend>
<run_depend>rosjava_bootstrap</run_depend>
<run_depend>rosjava_build_tools</run_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>

<depend>genmsg</depend>
<depend condition="$ROS_PYTHON_VERSION == 2">python-catkin-pkg</depend>
<depend condition="$ROS_PYTHON_VERSION == 2">python-rospkg</depend>
<depend condition="$ROS_PYTHON_VERSION == 3">python3-catkin-pkg</depend>
<depend condition="$ROS_PYTHON_VERSION == 3">python3-rospkg</depend>
<depend>rosjava_bootstrap</depend>
<depend>rosjava_build_tools</depend>

<export>
<message_generator>java</message_generator>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

from distutils.core import setup
from setuptools import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
Expand Down
2 changes: 1 addition & 1 deletion src/genjava/gradle_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_templates():

def populate_project(project_name, project_version, pkg_directory, gradle_project_dir, msg_dependencies):
author = author_name()
for filename, template in get_templates().iteritems():
for filename, template in get_templates().items():
contents = instantiate_genjava_template(template, project_name, project_version, pkg_directory, author, msg_dependencies)
try:
p = os.path.abspath(os.path.join(gradle_project_dir, filename))
Expand Down

0 comments on commit ca92e7c

Please sign in to comment.