Re: Trying to use CruiseControl with, StarTeam
"Watkins, Tenee C." <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <EE1A64E628992240A94E2B625745F016728DC0817B@aplesstripe.dom1.jhuapl.edu> |
Hello
Here is the entire output after I did the following steps
1. I copied the starteam80.jar to the
<install_dir>/contrib/plugins/StarTeam/lib directory
2. I use ant to build the build the build.xml file in
<install_dir>/contrib/plugins/StarTeam
clean:
[delete] Deleting directory C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\target
compile:
[mkdir] Created dir: C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\target\classes
[javac] Compiling 2 source files to C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\target\classes
[javac] C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\src\net\sourceforge\cruisecontrol\bootstrappers\StarTeamBootstrapper.java:39: warning: [deprecation] com.starbase.starteam.commandline.StarTeamCmd in com.starbase.starteam.commandline has been deprecated
[javac] import com.starbase.starteam.commandline.StarTeamCmd;
[javac] ^
[javac] C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\src\net\sourceforge\cruisecontrol\bootstrappers\StarTeamBootstrapper.java:120: warning: [deprecation] com.starbase.starteam.commandline.StarTeamCmd in com.starbase.starteam.commandline has been deprecated
[javac] int retVal = StarTeamCmd.run(args.getCommandline());
[javac] ^
[javac] Note: C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\src\net\sourceforge\cruisecontrol\sourcecontrols\StarTeam.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 warnings
[mkdir] Created dir: C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\target\test-classes
[javac] Compiling 2 source files to C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\target\test-classes
test:
[mkdir] Created dir: C:\cruisecontrol-2.8.4\contrib\plugins\StarTeam\target\test-results
[junit] Running net.sourceforge.cruisecontrol.StarTeamPluginRegistryTest
[junit] Testsuite: net.sourceforge.cruisecontrol.StarTeamPluginRegistryTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.063 sec
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.063 sec
[junit]
[junit] Testcase: testStarTeamPluginRegistry(net.sourceforge.cruisecontrol.StarTeamPluginRegistryTest): FAILED
[junit] null
[junit] junit.framework.AssertionFailedError: null
[junit] at net.sourceforge.cruisecontrol.PluginRegistryTest.verifyPluginClass(PluginRegistryTest.java:282)
[junit] at net.sourceforge.cruisecontrol.StarTeamPluginRegistryTest.testStarTeamPluginRegistry(StarTeamPluginRegistryTest.java:45)
[junit]
[junit]
BUILD FAILED
Does the deprecated commands have anything to do with my errors?
-----Original Message-----
From: Dan Rollo [mailto:[email protected]]
Sent: Friday, October 01, 2010 12:16 AM
To: [email protected]
Subject: Re: [Cruisecontrol-user] Trying to use CruiseControl with, StarTeam
Hi,
Could you include more info about the unit test that failed when you
tried to build the starteam contrib?
Hopefully there's a file in the tree with the test failure, stack trace,
etc.
Dan
Subject: [Cruisecontrol-user] Trying to use CruiseControl with
StarTeam
Content-Type: text/plain; charset="us-ascii"
Hello
I am trying to use CruiseControl with StarTeam source control. Here is
what I have done.
1. I downloaded the Source distribution of CruiseControl.
2. I have copied the starteam80.jar file to the <install_dir>/main/lib
directory
3. I built CruiseControl.
4. I tried running CruiseControl and got the following error.
2010-09-27 13:29:44,351 [main ] INFO Main -
CruiseControl Version 2.8.4 Compiled on September 27 2010 1307
2010-09-27 13:29:44,367 [main ] INFO XMLConfigManager - reading
settings from config file [C:\cc\config.xml]
2010-09-27 13:29:44,523 [main ] ERROR Main - error
setting config file on controller
net.sourceforge.cruisecontrol.CruiseControlException: error configuring
project tenee
at
net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:447)
at
net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:178)
at
net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:139)
at
net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:90)
at
net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:82)
at
net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:93)
at
net.sourceforge.cruisecontrol.Main.createController(Main.java:146)
at net.sourceforge.cruisecontrol.Main.start(Main.java:113)
at
net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259)
at
net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117)
Caused by: net.sourceforge.cruisecontrol.CruiseControlException: Unknown
plugin for: <starteam>
at
net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:106)
at
net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLHelper.java:198)
at
net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:137)
at
net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:92)
at
net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:104)
at
net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLHelper.java:198)
at
net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:137)
at
net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:92)
at
net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:104)
at
net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:445)
Then I did the following steps
1. I copied the starteam80.jar to the
<install_dir>/contrib/plugins/StarTeam/lib directory
2. I use ant to build the build the build.xml file in
<install_dir>/contrib/plugins/StarTeam
3. The build failed because the following test failed
[junit] Testcase:
testStarTeamPluginRegistry(net.sourceforge.cruisecontrol.StarTeamPluginRegistryTest):
FAILED
What do I need to do to get CruiseControl to work with StartTeam.
Starteam is version 2005 Release 2
CruiseControl is version 2.8.4
Thanks
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb