Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] How to run individual WTP tests with CBI using Eclipse?

The repository is out of date for individual bundles, temporally you can update this line:

From:
<webtools.buildSite>http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306</webtools.buildSite>
       

To:
<webtools.buildSite>http://download.eclipse.org/webtools/downloads/drops/R3.6.0/R-3.6.0-20140602160322</webtools.buildSite>

In : webtools.releng.aggregator/wtp-parent/pom.xml






Regards,

Julio C. Chavez
WTP Releng


Inactive hide details for Steven Hung ---21/07/2014 12:58:33---Hello, I'm having some issues running my individual WTP tests wiSteven Hung ---21/07/2014 12:58:33---Hello, I'm having some issues running my individual WTP tests with CBI using

From: Steven Hung <sghung@xxxxxxxxxx>
To: wtp-releng@xxxxxxxxxxx
Date: 21/07/2014 12:58
Subject: [wtp-releng] How to run individual WTP tests with CBI using Eclipse?
Sent by: wtp-releng-bounces@xxxxxxxxxxx




Hello, 

I'm having some issues running my individual WTP tests with CBI using Eclipse.
 

I am using Eclipse Luna
 

I call:
git clone --recursive git://git.eclipse.org/gitroot/webtools/webtools.releng.aggregator.git 

I import the files into my Eclipse workspace
 

I run the pom.xml in org.eclipse.wst.server.ui.tests using the following goals and profiles:





I end up getting the error below.
 

[INFO] Scanning for projects...
 
[INFO] Computing target platform for MavenProject: org.eclipse.webtools.servertools:org.eclipse.wst.server.ui.tests:1.1.300-SNAPSHOT @ C:\Users\IBM_ADMIN\GITTemp\webtools.servertools.tests\tests\org.eclipse.wst.server.ui.tests\pom.xml
 
[INFO] Adding repository
http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306/repository 
[ERROR] Internal error:
java.lang.RuntimeException: Failed to load p2 repository with ID 'webtools-repostiory' from location http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306/repository: No repository found at http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306/repository. -> [Help 1] 
org.apache.maven.InternalErrorException
: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'webtools-repostiory' from location http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306/repository 
       at org.apache.maven.DefaultMaven.execute(
DefaultMaven.java:167) 
       at org.apache.maven.cli.MavenCli.execute(
MavenCli.java:584) 
       at org.apache.maven.cli.MavenCli.doMain(
MavenCli.java:213) 
       at org.apache.maven.cli.MavenCli.main(
MavenCli.java:157) 
       at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method) 
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 
       at java.lang.reflect.Method.invoke(Unknown Source)
 
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
Launcher.java:289) 
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
Launcher.java:229) 
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
Launcher.java:415) 
       at org.codehaus.plexus.classworlds.launcher.Launcher.main(
Launcher.java:356) 
Caused by:
java.lang.RuntimeException: Failed to load p2 repository with ID 'webtools-repostiory' from location http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306/repository 
       at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(
TargetPlatformFactoryImpl.java:296) 
       at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(
TargetPlatformFactoryImpl.java:266) 
       at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(
TargetPlatformFactoryImpl.java:164) 
       at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(
TargetPlatformFactoryImpl.java:117) 
       at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(
TargetPlatformFactoryImpl.java:1) 
       at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(
P2TargetPlatformResolver.java:214) 
       at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(
DefaultTychoDependencyResolver.java:100) 
       at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(
TychoMavenLifecycleParticipant.java:75) 
       at org.apache.maven.DefaultMaven.doExecute(
DefaultMaven.java:317) 
       at org.apache.maven.DefaultMaven.execute(
DefaultMaven.java:155) 
       ... 11 more
 
Caused by:
org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-3.6.0-20140310170306/repository. 
       at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(
AbstractRepositoryManager.java:395) 
       at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(
AbstractRepositoryManager.java:692) 
       at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(
MetadataRepositoryManager.java:96) 
       at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(
RemoteMetadataRepositoryManager.java:59) 
       at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(
RemoteMetadataRepositoryManager.java:52) 
       at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(
TargetPlatformFactoryImpl.java:292) 
       ... 20 more
 
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
 
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
 
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException 


Are there any tips on getting this to work?
 

Thanks,
 
    Steven Hung 
    Software Developer
    WebSphere Application Server Developer Tools (WDT) - Server Tools
    8200 Warden Avenue
    Markham, Ontario L6G 1C7


    T:
     905-413-2899
    E:
     sghung@xxxxxxxxxx
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-releng

GIF image

GIF image

GIF image


Back to the top