Re: Trying to use CruiseControl with, StarTeam

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
> Does the deprecated commands have anything to do with my errors?


No.  The failing test is letting you know that the bootstrapper hasn't been
defined in the default-plugins.properties file. To make the test pass you
can re-add them to your local copy. See the diff here for the lines you need
to readd:

http://cruisecontrol.svn.sourceforge.net/viewvc/cruisecontrol/trunk/cruisecontrol/main/src/net/sourceforge/cruisecontrol/default-plugins.properties?r1=4353&r2=4516

Or you can just delete that test and define the plugins in your config.xml
using the <plugin> tag:

http://cruisecontrol.sourceforge.net/main/configxml.html#plugin

Jtf


On Fri, Oct 8, 2010 at 1:59 PM, Watkins, Tenee C.
<[email protected]>wrote:

> 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?
>
> ... <snip/>
>

-- 
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.