Re: Build failed by Profile Adapter
Eric Minick <[email protected]> Wed, 16 Aug 2006 09:54:45 -0600
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Hi Alex, The problem is that when Anthill attempts to run the subversion label (copy) command, that command is failing and exiting with an error code of '1'. You can watch exactly what commands are being run in the standard out log for your servlet container. If you are using tomcat, the easiest thing to do would be to shut down the service and start up tomcat manually from the batch file. When you run your build, you'll be able to see the commands echoed to the log as the go. Watch for the label command, copy it and try to run it yourself to see what kind of error is being tossed out of subversion. Regards, Eric Alexandre Barret wrote: > Hi! > > We are currently using Anthill OS to make some build night. For our > projects we use Subversion. > In Anthill Properties I have for anthil.version.adapter: > com.urbancode.anthill.adapter.UrbanCodeVersionAdapter > and for anthil.repository.adapter: > com.urbancode.anthill.adapter.SubversionRepositoryAdapter > > for each projects I put the same thing, and i point > anthill.version.adapter to a version file. > > But here are my issues. Although ant can build each project I receive > for instance this mail: > > Anthill version 1.8.1.303 > > Retrieving project files: OK > Incrementing version: OK > Build: OK > Project Site: http://localhost:8080/anthill/projects/MCSG/ > > Build Log: > http://localhost:8080/anthill/projects/MCSG/buildLogs/MCSG-1.0.32-build.log > > FAILED to build project. Message: ProfileAdapter Label failed: 1 > > ------------------------------------- > c:\Programs\Anthill\publishDir\MCSG\buildLogs\MCSG-1.0.32-build.log > init: > [mkdir] Created dir: C:\Programs\Anthill\work\MCSG\build > [mkdir] Created dir: C:\Programs\Anthill\work\MCSG\build\test > [mkdir] Created dir: C:\Programs\Anthill\work\MCSG\dist > > build-common: > [javac] Compiling 147 source files to > C:\Programs\Anthill\work\MCSG\build > [javac] Note: * uses or overrides a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > > build: > [javac] Compiling 149 source files to > C:\Programs\Anthill\work\MCSG\build > [javac] Note: * uses or overrides a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [jar] Building jar: C:\Programs\Anthill\work\MCSG\build\mcsg2.jar > > BUILD SUCCESSFUL > Total time: 14 seconds > > and in the log I have this part: > > 14:42:00:971 [Thread - AnthillBuildDaemon] ERROR > com.urbancode.anthill.BuildMana > ger - ProfileAdapter Label failed: 1 > com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter > Label failed: > 1 > at > com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand > (ProfileRepositoryAdapter.java:442) > at > com.urbancode.anthill.adapter.SubversionRepositoryAdapter.label(Subve > rsionRepositoryAdapter.java:460) > at > com.urbancode.anthill.BuildManager.tagProject(BuildManager.java:273) > at com.urbancode.anthill.BuildManager.build(BuildManager.java:190) > at > com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja > va:231) > at > com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158) > at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73) > > I don't know what to do. > Some time I have some project without version file, so I change in the > property of the project, anthil.version.adapter becomes : > com.urbancode.anthill.adapter.ProjectPropertyFileVersionAdapter as I > saw in a previous mail. But I have still this issues of adapter even > if the building is good. > > Expecting an answer, please > Best regards > alex