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?

After doing the pull, I was able to build successfully.

Thanks for doing the update Thanh. Also, thanks Julio for responding with a temporary fix.

Regards,
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





From:        Thanh Ha <thanh.ha@xxxxxxxxxxx>
To:        wtp-releng@xxxxxxxxxxx
Date:        07/21/2014 03:56 PM
Subject:        Re: [wtp-releng] How to run individual WTP tests with CBI using        Eclipse?
Sent by:        wtp-releng-bounces@xxxxxxxxxxx




The error is:

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


Looks like the I-3.6.0 repository we were using to pull missing bundles for "build-individual-bundles" profile is no longer valid. I'll change this repo to R-3.6.0-20140602160322 until there is a better one to point to.

Can you try again after pulling the aggregator updates and let me know if it works for you now?

Regards,


Thanh

On 07/21/2014 01:57 PM, Steven Hung wrote:
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
_______________________________________________
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

Back to the top