Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 84653b3

Browse files
authored
Merge pull request #28 from adamantivm/obsolete/master
Merging master branch
2 parents 1f1d069 + dde3104 commit 84653b3

File tree

6 files changed

+40
-24
lines changed

6 files changed

+40
-24
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ Changelog
2828
* minor bugfixes and improvements.
2929
* Contributors: Benjamin Chrétien, Daniel Stonier, Martin Pecka
3030

31+
0.2.0 [2013-10-25]
32+
==================
33+
* official maven style open range dependencies in templates
34+
* gradle 1.7->1.8
35+
* android build tools 18.1.1
36+
3137
0.1.34 (2014-06-12)
3238
===================
3339
* assist rospack to speedup by ignoring the installed maven directories.

src/rosjava_build_tools/create_android_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def parse_arguments():
3131
parser.add_argument('-t', '--target-version',
3232
action='store',
3333
default='15',
34-
help='Target android version [15]')
34+
help='Android sdk version [15]')
3535
parser.add_argument('-p', '--android-package-name',
3636
action='store',
3737
default='com.github.rosjava.android.pkg_name',

src/rosjava_build_tools/templates/android_project/build.gradle.in

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,24 @@
1414
* the License.
1515
*/
1616

17-
/*
18-
Examples of
17+
/*
18+
Examples of
1919
1) dependencies from another project in this gradle stack.
2020
2,3) open ranged dependencies from a maven repository.
21-
22-
It's a good idea to restrict the open ranged dependency to
23-
the patch version to avoid breakages due to api changes
24-
which usually occur on minor and major version numbers.
21+
22+
It's a good idea to use open ranges on to
23+
save continually updating these references, but it is recommended
24+
to restrict this to the patch version number (e.g. [0.3,0.4) will
25+
get the latest 0.3.x version) to avoid unknowingly
26+
having api breaking changes usually associated with minor and major
27+
version number changes.
2528
*/
26-
/*
29+
/*
2730
dependencies {
2831
compile project(':local_android_library_dependency')
29-
compile 'org.ros.android_core:android_10:[0.2,0.3)'
30-
compile 'org.ros.android_core:android_15:[0.2,0.3)'
31-
compile 'com.github.rosjava.android_extras:gingerbread:[0.2,0.3)'
32+
compile 'org.ros.android_core:android_10:[0.3,0.4)'
33+
compile 'org.ros.android_core:android_15:[0.3,0.4)'
34+
compile 'com.github.rosjava.android_extras:gingerbread:[0.3,0.4)'
3235
compile 'org.ros.rosjava_messages:tf2_msgs:[0.5,0.6)'
3336
}
3437
*/
@@ -44,4 +47,4 @@ android {
4447
versionName "1.0"
4548
}
4649
}
47-
50+

src/rosjava_build_tools/templates/rosjava_package/CMakeLists.txt.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ catkin_package()
2323
# Installation
2424
##############################################################################
2525

26-
# Change this to match the maven group name you have specified in the
26+
# Change this to match the maven group name you have specified in the
2727
# allprojects closure the root build.gradle
28-
install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_MAVEN_DESTINATION}/com/github/rosjava/${PROJECT_NAME}/
28+
install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_MAVEN_DESTINATION}/com/github/rosjava/${PROJECT_NAME}/
2929
DESTINATION ${CATKIN_GLOBAL_MAVEN_DESTINATION}/com/github/rosjava/${PROJECT_NAME})

src/rosjava_build_tools/templates/rosjava_package/build.gradle.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ allprojects {
3636

3737
subprojects {
3838
/*
39-
* The ros plugin configures a few things:
39+
* The ros-java plugin configures a few things:
4040
*
4141
* - local deployment repository : where it dumps the jars and packaged artifacts)
42-
* - local maven repositories : where it finds your locally installed/built artifacts)
42+
* - local maven repositories : where it finds your locally installed/built artifacts)
4343
* - external maven repositories : where it goes looking if it can't find dependencies locally
4444
*
4545
* To modify, or add repos to the default external maven repositories list, pull request against this code:

src/rosjava_build_tools/templates/rosjava_project/build.gradle.in

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,25 @@
1818
apply plugin: 'application'
1919
mainClassName = 'org.ros.RosRun'
2020

21-
/*
22-
Dependencies can be on external maven artifacts (such as rosjava_core
23-
here) or on sibling subprojects. Fpr external maven artifact dependencies
24-
it's convenient to use an open ranged dependency, but restrict it to
25-
cover the patch version only to avoid breakages due to api changes
26-
which usually occur on minor and major version numbers.
21+
/*
22+
Examples of
23+
1) dependencies from another project in this gradle stack.
24+
2,3) open ranged dependencies from a maven repository.
25+
26+
Dependencies can be on external maven artifacts (such as rosjava_core
27+
here) or on sibling subprojects. For rosjava maven artifact dependencies
28+
it is a good idea to use open ranges on to
29+
save continually updating these references, but it is recommended
30+
to restrict this to the patch version number (e.g. [0.3,0.4) will
31+
get the latest 0.3.x version) to avoid unknowingly
32+
having api breaking changes usually associated with minor and major
33+
version number changes.
2734
*/
2835

2936
dependencies {
3037
/* An external maven artifact dependency */
31-
compile 'org.ros.rosjava_core:rosjava:[0.2,0.3)'
32-
/* Example of a local subproject dependency */
38+
compile 'org.ros.rosjava_core:rosjava:[0.3,0.4)'
39+
/* Example of a local subproject dependency */
3340
/* compile project(':sibling_gradle_project') */
3441
}
3542

0 commit comments

Comments
 (0)