Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ROS Java Build Tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CeTI
ROS
ROS Java Packages
ROS Java Build Tools
Commits
8c30d2a5
Commit
8c30d2a5
authored
8 years ago
by
Julian Cerruti
Browse files
Options
Downloads
Patches
Plain Diff
publishMavenJavaPublicationToMavenRepository -> publish
parent
dc55637f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/rosjava_build_tools/create_rosjava_project.py
+5
-5
5 additions, 5 deletions
src/rosjava_build_tools/create_rosjava_project.py
src/rosjava_build_tools/templates/rosjava_package/build.gradle.in
+2
-2
2 additions, 2 deletions
...ava_build_tools/templates/rosjava_package/build.gradle.in
with
7 additions
and
7 deletions
src/rosjava_build_tools/create_rosjava_project.py
+
5
−
5
View file @
8c30d2a5
...
...
@@ -173,8 +173,8 @@ def add_tasks_to_cmake_setup(tasks):
return
rosjava_setup_string
=
result
.
group
(
0
)
gradle_tasks
=
set
([])
if
rosjava_setup_string
.
find
(
"
publish
MavenJavaPublicationToMavenRepository
"
)
==
-
1
:
gradle_tasks
.
add
(
"
publish
MavenJavaPublicationToMavenRepository
"
)
if
rosjava_setup_string
.
find
(
"
publish
"
)
==
-
1
:
gradle_tasks
.
add
(
"
publish
"
)
if
rosjava_setup_string
.
find
(
"
installApp
"
)
==
-
1
:
gradle_tasks
.
add
(
"
installApp
"
)
gradle_tasks
|=
set
(
tasks
)
...
...
@@ -236,7 +236,7 @@ def create_rosjava_project():
author
=
args
.
author
create_rosjava_project_common
(
args
,
'
rosjava_project
'
)
create_talker_listener_classes
(
project_name
,
'
rosjava_project
'
,
author
)
add_tasks_to_cmake_setup
([
'
installApp
'
,
'
publish
MavenJavaPublicationToMavenRepository
'
])
add_tasks_to_cmake_setup
([
'
installApp
'
,
'
publish
'
])
def
create_rosjava_library_project
():
...
...
@@ -244,7 +244,7 @@ def create_rosjava_library_project():
project_name
=
args
.
name
[
0
]
create_rosjava_project_common
(
args
,
'
rosjava_library_project
'
)
create_dummy_java_class
(
project_name
)
add_tasks_to_cmake_setup
([
'
publish
MavenJavaPublicationToMavenRepository
'
])
add_tasks_to_cmake_setup
([
'
publish
'
])
def
create_rosjava_msg_project
():
...
...
@@ -253,4 +253,4 @@ def create_rosjava_msg_project():
create_rosjava_project_common
(
args
,
'
rosjava_msg_project
'
)
add_catkin_generate_tree_command
()
add_to_package_xml
(
project_name
)
add_tasks_to_cmake_setup
([
'
publish
MavenJavaPublicationToMavenRepository
'
])
add_tasks_to_cmake_setup
([
'
publish
'
])
This diff is collapsed.
Click to expand it.
src/rosjava_build_tools/templates/rosjava_package/build.gradle.in
+
2
−
2
View file @
8c30d2a5
...
...
@@ -58,11 +58,11 @@ subprojects {
Some useful tasks:
install: deploys jar's to MavenLocal() (i.e. ~/.m2/repository)
publish
MavenJavaPublicationToMavenRepository
: deploys jar's to devel/share/maven
publish : deploys jar's to devel/share/maven
installApp : assembles java apps in the _subproject_/build directories.
Note that these are dependent on the type of project (e.g. installApp is only valid for
java binary subprojects, while publish
MavenJav...
is only added once a subproject is included.
java binary subprojects, while publish is only added once a subproject is included.
If you're using catkin_make, this is not important, since it will use the task list specified
in CMakeLists.txt
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment