This repository was archived by the owner on Jan 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
src/main/java/org/ros/internal/message Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,5 @@ dependencies {
24
24
compile project(' :gradle_plugins' )
25
25
}
26
26
27
+ apply plugin : " application"
28
+ mainClassName = " org.ros.internal.message.GenerateInterfaces"
Original file line number Diff line number Diff line change 1
1
/*
2
2
* Copyright (C) 2011 Google Inc.
3
- *
3
+ *
4
4
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
5
* use this file except in compliance with the License. You may obtain a copy of
6
6
* the License at
7
- *
7
+ *
8
8
* http://www.apache.org/licenses/LICENSE-2.0
9
- *
9
+ *
10
10
* Unless required by applicable law or agreed to in writing, software
11
11
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
12
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -161,12 +161,12 @@ public static void main(String[] args) {
161
161
String rosPackagePath = System .getenv (ROS_PACKAGE_PATH );
162
162
// Overwrite with a supplied package path if specified (--package-path=)
163
163
for (ListIterator <String > iter = arguments .listIterator (); iter .hasNext (); ) {
164
- String arg = iter .next ();
165
- if (arg .contains ("--package-path=" )) {
166
- rosPackagePath = arg .replace ("--package-path=" , "" );
167
- iter .remove ();
168
- break ;
169
- }
164
+ String arg = iter .next ();
165
+ if (arg .contains ("--package-path=" )) {
166
+ rosPackagePath = arg .replace ("--package-path=" , "" );
167
+ iter .remove ();
168
+ break ;
169
+ }
170
170
}
171
171
Collection <File > packagePath = Lists .newArrayList ();
172
172
for (String path : rosPackagePath .split (File .pathSeparator )) {
You can’t perform that action at this time.
0 commit comments