Build failed by Profile Adapter
Alexandre Barret <[email protected]> Wed, 16 Aug 2006 17:31:56 +0200
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
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
--