Re: [ptp-dev] PTP 8.1.1 and Photran 9.0.1 released with Eclipse Luna SR2 (4.4.2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/09/2015 04:54 PM, Orion Poplawski wrote:
On 02/27/2015 08:45 AM, Beth Tibbitts wrote:
PTP 8.1.1  (and Photran 9.0.1) are released today, with the big Eclipse Luna
Service Release 2 (SR2) simultaneous release.   http://eclipse.org

I'm trying to build the Fedora PTP package from
e6781abcbe35d3016f9ec8a943dc8a880780021a but I'm getting the following compile
error:


[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.22.0:compile (default-compile) on
project org.eclipse.ptp.rdt.core: Compilation failure: Compilation failure:
[ERROR]
/builddir/build/BUILD/org.eclipse.ptp-e6781abcbe35d3016f9ec8a943dc8a880780021a/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/internal/rdt/core/model/TranslationUnit.java:[62]
[ERROR] public class TranslationUnit extends Parent implements ITranslationUnit {
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] The type TranslationUnit must implement the inherited abstract method
ITranslationUnit.getFile()
[ERROR] 1 problem (1 error)

This is with CDT 8.6.0. Both are supposedly Luna SR2.

Any ideas?


Ah, apparently this was added in CDT 8.6.0. I was confused by the @since 5.9 note.

--- ./eclipse-cdt-8.5.0/CDT_8_5_0/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java 2014-09-17 14:29:37.000000000 -0600 +++ ./eclipse-cdt-8.6.0/CDT_8_6_0/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ITranslationUnit.java 2015-02-11 12:19:10.000000000 -0700
@@ -1,5 +1,5 @@

/*******************************************************************************
- * Copyright (c) 2000, 2011 QNX Software Systems and others.
+ * Copyright (c) 2000, 2014 QNX Software Systems and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -8,6 +8,7 @@
  * Contributors:
  *     QNX Software Systems - Initial API and implementation
  *     Markus Schorn (Wind River Systems)
+ *     Sergey Prigogin (Google)

*******************************************************************************/
 package org.eclipse.cdt.core.model;

@@ -21,6 +22,7 @@
 import org.eclipse.cdt.core.parser.FileContent;
 import org.eclipse.cdt.core.parser.IScannerInfo;
 import org.eclipse.cdt.internal.core.model.IBufferFactory;
+import org.eclipse.core.resources.IFile;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.IProgressMonitor;
@@ -420,6 +422,15 @@
        public IPath getLocation();

        /**
+ * Returns the corresponding file for this translation unit, or {@code null} if this translation
+        * unit does not have a corresponding file.
+        *
+        * @return the corresponding file, or {@code null} if none
+        * @since 5.9
+        */
+       IFile getFile();
+
+       /**
* Returns the scanner info associated with this translation unit. May return {@code null}
         * if no configuration is available.
         *


I wonder why PTP didn't see a problem.  Perhaps it is built with java 1.7?

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux