Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Issues building ptp 6.0.2 on Fedora

In trying to build 6.0.2 for Fedora, I ran into two problems:

- There is not ant-trax.jar in Fedora. Removing the dependency allowed it to build. - The specification of the tools.jar dependency appears to be incorrect, it didn't work for me where it was.

The attached patch makes those changes.


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
diff -up eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml.notrax eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml
--- eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml.notrax	2012-09-17 22:22:14.000000000 -0600
+++ eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml	2012-12-04 09:06:51.725528197 -0700
@@ -29,15 +29,6 @@
 					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
 						<artifactId>maven-antrun-plugin</artifactId>
-						<dependencies>
-							<dependency>
-								<groupId>com.sun</groupId>
-								<artifactId>tools</artifactId>
-								<version>1.5.0</version>
-								<scope>system</scope>
-								<systemPath>${java.home}/../lib/tools.jar</systemPath>
-							</dependency>
-						</dependencies>
 					</plugin>
 				</plugins>
 			</build>
@@ -59,9 +50,11 @@
 				<version>1.1</version>
 				<dependencies>
 					<dependency>
-						<groupId>ant</groupId>
-						<artifactId>ant-trax</artifactId>
-						<version>1.6.5</version>
+						<groupId>com.sun</groupId>
+						<artifactId>tools</artifactId>
+						<version>1.5.0</version>
+						<scope>system</scope>
+						<systemPath>${java.home}/../lib/tools.jar</systemPath>
 					</dependency>
 				</dependencies>
 				<executions>
diff -up eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rms/org.eclipse.ptp.rm.lml.da.server/pom.xml.notrax eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rms/org.eclipse.ptp.rm.lml.da.server/pom.xml
--- eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rms/org.eclipse.ptp.rm.lml.da.server/pom.xml.notrax	2012-09-17 22:22:14.000000000 -0600
+++ eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rms/org.eclipse.ptp.rm.lml.da.server/pom.xml	2012-12-04 09:06:56.862500051 -0700
@@ -28,15 +28,6 @@
 					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
 						<artifactId>maven-antrun-plugin</artifactId>
-						<dependencies>
-							<dependency>
-								<groupId>com.sun</groupId>
-								<artifactId>tools</artifactId>
-								<version>1.5.0</version>
-								<scope>system</scope>
-								<systemPath>${java.home}/../lib/tools.jar</systemPath>
-							</dependency>
-						</dependencies>
 					</plugin>
 				</plugins>
 			</build>
@@ -50,9 +41,11 @@
 				<version>1.1</version>
 				<dependencies>
 					<dependency>
-						<groupId>ant</groupId>
-						<artifactId>ant-trax</artifactId>
-						<version>1.6.5</version>
+						<groupId>com.sun</groupId>
+						<artifactId>tools</artifactId>
+						<version>1.5.0</version>
+						<scope>system</scope>
+						<systemPath>${java.home}/../lib/tools.jar</systemPath>
 					</dependency>
 				</dependencies>
 				<executions>

Back to the top