[Anthill] Build Errors Path Null
Eric Minick
eric at urbancode.com
Mon Jul 19 07:48:48 CDT 2004
Jeremy,
Good to see that you made progress, I should have checked before sending
that last email. I'm honestly not sure what's going on here. The conf
file looks ok on the surface. Could you adjust the log4j.configuration
file in your conf directory to use DEBUG level logging and try it again?
I'd like to see if we can get some more information as to which path
turned out to be null.
Regards,
Eric
Whitlock, Jeremy x66075 wrote:
> AntHill-Users,
>
> I finally figured out how to set the paths for my project. I set them
> up like this:
>
> #
>
> # Defines the configuration parameters for the pvcsRepositoryAdapter
>
> #
>
> param.name.1=repository.pvcs.work.dir
>
> param.desc.1=The name of the directory to which pvcs will checkout the
> project. This should be a relative path and it will be relative to
> anthill's home directory.
>
> param.default.1=D:\posse_jvm_4_11_1
>
> param.name.2=repository.pvcs.projectDir
>
> param.desc.2=The full path to the directory that stores the project
> database.
>
> param.default.2=R:\posse_jvm_4_11_1\pvcs
>
> param.name.3=repository.pvcs.project
>
> param.desc.3=This is the project name.
>
> param.default.3=POSSE JVM 4.11.1
>
> param.name.4=repository.pvcs.archiveDir
>
> param.desc.4=The absolute directory to where the archive for the
> project is located.
>
> param.default.4=R:\posse_jvm_4_11_1
>
> param.name.5=repository.pvcs.branch
>
> param.desc.5=The name of the pvcs branch that Anthill is to build.
> (Most of the time this will be blank.) And this can be repetitive if
> the branch name is also the module name. But this isn't always the
> case. This parameter will be part of the local project directory on
> your local system. The module name is solely used for accessing pvcs's
> depot.
>
> param.default.5=POSSE 4.11.1
>
> param.name.6=repository.pvcs.dateFormat
>
> param.desc.6=The date format to be used for PVCS history command
>
> param.default.6=MMM dd yyyy HH:mm:ss
>
> And I get this:
>
> Anthill: looking for file: C:\Documents and
> Settings\jwhitlock\.anthill.anthill.properties
>
> Anthill version: 1.7.0.162 loaded.
>
> Anthill root dir: D:\AntHill
>
> 16:24:59:119 [ExecuteThread: '24' for queue: 'default'] INFO
> com.urbancode.anthill.Anthill - Starting Anthill daemons
>
> 16:25:04:041 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.PVCSRepositoryAdapter - Revision log
> date format: MMM dd yyyy HH:mm:ss
>
> com.urbancode.anthill.adapter.RepositoryException: Path parameter must
> not be null.
>
> at
> com.urbancode.anthill.adapter.PVCSRepositoryAdapter.calculateRepositoryProperties()V(PVCSRepositoryAdapter.java:99)
>
> at
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter.init(Lcom.urbancode.anthill.AnthillProject;)V(ProfileRepositoryAdapter.java:146)
>
> at
> com.urbancode.anthill.adapter.RepositoryAdapterFactory.getRepositoryAdapter(Lcom.urbancode.anthill.AnthillProject;Ljava.lang.String;)Lcom.u
>
> rbancode.anthill.adapter.RepositoryAdapter;(RepositoryAdapterFactory.java:56)
>
> at
> com.urbancode.anthill.ProjectProperties.getRepositoryAdapter()Lcom.urbancode.anthill.adapter.RepositoryAdapter;(ProjectProperties.java:248)
>
> at
> com.urbancode.anthill.AnthillProject.getRepositoryAdapter()Lcom.urbancode.anthill.adapter.RepositoryAdapter;(AnthillProject.java:174)
>
> at
> com.urbancode.anthill.BuildManager.build(Lcom.urbancode.anthill.BuildDefinition;)V(BuildManager.java:79)
>
> at
> com.urbancode.anthill.AnthillProject.releaseProject(Lcom.urbancode.anthill.BuildDefinition;)V(AnthillProject.java:231)
>
> at com.urbancode.anthill.BuildDefinition.run()V(BuildDefinition.java:158)
>
> at com.urbancode.anthill.BuildDaemon.run()V(BuildDaemon.java:73)
>
> at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
>
> 16:25:04:088 [Thread - AnthillBuildDaemon] ERROR
> com.urbancode.anthill.BuildManager - exception while getting
> com.urbancode.anthill.adapter.PVCSRepos
>
> itoryAdapter instance: Path parameter must not be null.
>
> java.lang.IllegalStateException: exception while getting
> com.urbancode.anthill.adapter.PVCSRepositoryAdapter instance: Path
> parameter must not be null
>
> .
>
> at
> com.urbancode.anthill.ProjectProperties.getRepositoryAdapter()Lcom.urbancode.anthill.adapter.RepositoryAdapter;(ProjectProperties.java:252)
>
> at
> com.urbancode.anthill.AnthillProject.getRepositoryAdapter()Lcom.urbancode.anthill.adapter.RepositoryAdapter;(AnthillProject.java:174)
>
> at
> com.urbancode.anthill.BuildManager.build(Lcom.urbancode.anthill.BuildDefinition;)V(BuildManager.java:79)
>
> at
> com.urbancode.anthill.AnthillProject.releaseProject(Lcom.urbancode.anthill.BuildDefinition;)V(AnthillProject.java:231)
>
> at com.urbancode.anthill.BuildDefinition.run()V(BuildDefinition.java:158)
>
> at com.urbancode.anthill.BuildDaemon.run()V(BuildDaemon.java:73)
>
> at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
>
> Pagelets v3.1.5 loaded.
>
> Copyright 2000-2002 Urbancode. All rights reserved.
>
> Anyone know what I’m doing wrong? Thanks, Jeremy
>
>
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and
> confidential. If the reader of the message is not the intended
> recipient or an authorized representative of the intended recipient,
> you are hereby notified that any dissemination of this communication
> is strictly prohibited. If you have received this communication in
> error, please notify us immediately by e-mail and delete the message
> and any attachments from your system.
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
More information about the Anthill
mailing list