Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] tycho 0.17 build issue

On 05/06/2013 10:59 AM, Orion Poplawski wrote:
On 05/02/2013 05:18 PM, Orion Poplawski wrote:
I'm getting the following building ptp master on Fedora devel:

[ERROR] Failed to execute goal
org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.17.0:eclipse-run (default)
on project org.eclipse.ptp.doc.isv: The parameters 'repositories' for goal
org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.17.0:eclipse-run are
missing or invalid -> [Help 1]

This appears to be a new requirement of tycho 0.17, which is what we're using
in Fedora.

I think you need something like:

@@ -122,6 +122,13 @@
                    <type>eclipse-plugin</type>
                  </dependency>
                </dependencies>
+              <repositories>
+                <repository>
+                  <id>juno-42</id>
+                  <layout>p2</layout>
+ <url>http://download.eclipse.org/eclipse/updates/4.2</url>
+                </repository>
+              </repositories>
              </configuration>
              <executions>
                <execution>

Although with the proper items....


Okay, I have this pointing to our local build repo for the Fedora builds.  Now
it's failing with:

/builddir/build/BUILD/org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/buildDoc.xml:59:
/builddir/build/BUILD/org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/${baseLocation}
does not exist.

Looks like the core/org.eclipse.ptp.doc.isv/pom.xml file uses the
${baseLocation} variable but it isn't getting set in my build.  How is this
supposed to get set?  I can't find any other references to it.

I simply removed it.  Seems to work.


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
diff -up org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/buildDoc.xml.docbuild org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/buildDoc.xml
--- org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/buildDoc.xml.docbuild	2013-05-02 12:13:47.000000000 -0600
+++ org.eclipse.ptp-bd8fbd1ef122a3ff350ddeed85173ba81ae56d95/core/org.eclipse.ptp.doc.isv/buildDoc.xml	2013-05-06 11:01:52.723192691 -0600
@@ -56,13 +56,6 @@
 			<include name="**/com.jcraft.jsch*.jar"/>
 		</patternset>
 			
-		<pathconvert property="javadoc.classpath">
-			<path>				
-				<fileset dir="${baseLocation}">
-					<patternset refid="platform.classpath.pattern"/>
-		    	</fileset>
-			</path>
-		</pathconvert>
 		<echo level="info" message="Done computing classpath."/>
 		<echo level="info" message="Bootclasspath is: ${bootclasspath}"/>
 		<echo level="debug" message="Classpath is: ${javadoc.classpath}"/>

Back to the top