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 {
2424 compile project(' :gradle_plugins' )
2525}
2626
27+ apply plugin : " application"
28+ mainClassName = " org.ros.internal.message.GenerateInterfaces"
Original file line number Diff line number Diff line change 11/*
22 * Copyright (C) 2011 Google Inc.
3- *
3+ *
44 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
55 * use this file except in compliance with the License. You may obtain a copy of
66 * the License at
7- *
7+ *
88 * http://www.apache.org/licenses/LICENSE-2.0
9- *
9+ *
1010 * Unless required by applicable law or agreed to in writing, software
1111 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
1212 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -161,12 +161,12 @@ public static void main(String[] args) {
161161 String rosPackagePath = System .getenv (ROS_PACKAGE_PATH );
162162 // Overwrite with a supplied package path if specified (--package-path=)
163163 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+ }
170170 }
171171 Collection <File > packagePath = Lists .newArrayList ();
172172 for (String path : rosPackagePath .split (File .pathSeparator )) {
You can’t perform that action at this time.
0 commit comments