[Anthill] RE: Build Errors Path Null

Eric Minick eric at urbancode.com
Tue Jul 20 14:24:28 CDT 2004


Jeremy,

I think you'd actually need to go in and change the code. If someone 
knows a better way, please chip in. Having taken a quick look, I think 
it should be quite doable, but it was only a quick look. You would need 
to override the calculateLocalProjectDirName() method in the 
PVCSRepositoryAdapter class. If that's something you're interested in, I 
might be able to describe things in some more detail.

Thanks,

Eric

Whitlock, Jeremy x66075 wrote:

>Eric,
>	The more we talk the more I realize that the location will not be an
>issue since eventually, it will be ran on a build server.  That being said,
>can you tell me what changes I'd have to make to get AntHill to work the way
>it needs to in regards to my earlier posting about my current configuration?
>Thanks, Jeremy
>
>-----Original Message-----
>From: Eric Minick [mailto:eric at urbancode.com]
>Sent: Tuesday, July 20, 2004 11:45 AM
>To: Anthill user list
>Subject: Re: [Anthill] RE: Build Errors Path Null
>
>Jeremy,
>
>I agree that the documentation is in need of work. We are redoing the
>docs for the professional version now and I think OS will get the
>treatment next.
>
>I'll try to go one step at a time. The reason Anthill uses its own
>working directory goes to the core of what it tries to accomplish.
>
>The idea is that developers tend to have fairly customized environments.
>They'll make something work on their machine, commit it and go home.
>Unfortunately, the build only worked because the had some jar file on
>some path they set up in desperation two weeks ago. Now the build is
>broken for everyone else.
>
>Enter Anthill. Anthill resides on a plain old vanilla server isolated
>from us pesky developers and our specialized environments. It checks out
>the code, compiles it and then puts the results in a predictable place.
>These artifacts can then be tested furhter, deployed, etc. It should be
>self contained. It works on the files in its own space, and lets
>everyone know if the builds are going well or not.
>
>I guess the question is why it matters where Anthill does its builds?
>The developers should still have their spaces and I'd imagine a space
>could be setup for WebLogic as well. Is the trick trying to get
>automatic deployments to work?
>
>Best Regards,
>
>Eric
>
>Whitlock, Jeremy x66075 wrote:
>
>  
>
>>Eric,
>>      That's just how PVCS is setup right now and it would be hard for me
>>to push this by the uppers if we are required to have a "proprietary"
>>directory structure just to suit the Continuous Integration System.  We are
>>already having to make our directory structure BEA WebLogic compliant and
>>    
>>
>we
>  
>
>>were unable to pursue Maven due to this setup as well.  To make AntHill
>>work, what do I have to do?  I want to evaluate AntHill and I don't know
>>that the install document explains this or hopefully AntHill would already
>>be running.  (That is assuming I have anything close to a brain!)  I need
>>your help to explain what I need to do, and why if you have time, so that I
>>can get AntHill up and running.  Thanks for your assistance and if you
>>    
>>
>don't
>  
>
>>have the time or the want to help, I'd understand as we are all busy
>>    
>>
>people.
>  
>
>>Thanks, Jeremy
>>
>>-----Original Message-----
>>From: Eric Minick [mailto:eric at urbancode.com]
>>Sent: Tuesday, July 20, 2004 6:49 AM
>>To: Anthill user list
>>Subject: Re: [Anthill] RE: Build Errors Path Null
>>
>>Jeremy,
>>
>>I'm not sure how to do that. Can I ask why you need it checked out there?
>>
>>Eric
>>
>>Whitlock, Jeremy x66075 wrote:
>>
>>
>>
>>    
>>
>>>Eric,
>>>     I need the project checked out to:
>>>
>>>D:\Develop\posse_jvm_4_11_1
>>>
>>>How would I make changes to suit?  Thanks, Jeremy
>>>
>>>-----Original Message-----
>>>From: Eric Minick [mailto:eric at urbancode.com]
>>>Sent: Monday, July 19, 2004 1:09 PM
>>>To: Anthill user list
>>>Subject: Re: [Anthill] RE: Build Errors Path Null
>>>
>>>Jeremy,
>>>
>>>I may have found the issue. The repository.pvcs.work.dir property needs
>>>to be a relative path to the AnthillPro base directory. In all
>>>likelyhood, it is just going to be "work". This is where the driver will
>>>check your project out to and do the build.
>>>
>>>Give it a shot with the simpler version.
>>>
>>>Regards,
>>>
>>>Eric
>>>
>>>Whitlock, Jeremy x66075 wrote:
>>>
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>Eric,
>>>>    I'm not using Tomcat.  I'm using WebLogic 8.1 SP 2.  They do have
>>>>access to the R drive.  It can be accessed from command line and I've
>>>>verified that its existence is valid.  Thanks, Jeremy
>>>>
>>>>-----Original Message-----
>>>>From: Eric Minick [mailto:eric at urbancode.com]
>>>>Sent: Monday, July 19, 2004 10:31 AM
>>>>To: Anthill user list
>>>>Subject: Re: [Anthill] RE: Build Errors Path Null
>>>>
>>>>Jeremy,
>>>>
>>>>What user is Tomcat running as? Do they have an R drive?
>>>>
>>>>-- Eric
>>>>
>>>>Whitlock, Jeremy x66075 wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>AntHill-Users,
>>>>>
>>>>>Does anyone see anything wrong? To clarify some information, here are
>>>>>my absolute paths:
>>>>>
>>>>>AntHill - D:\AntHill
>>>>>
>>>>>PVCS Working Directory - D:\Develop\posse_jvm_4_11_1 (In the original
>>>>>this was wrong but fixing it didn't alleviate the problem)
>>>>>
>>>>>PVCS Database Directory - R:\posse_jvm_4_11_1\pvcs
>>>>>
>>>>>PVCS Version Label - POSSE 4.11.1
>>>>>
>>>>>PVCS Proect Name - POSSE JVM 4.11.1
>>>>>
>>>>>These have all been verified and are correct but I still get the null
>>>>>path error. I'm going to debug AntHill to see why but if anyone has
>>>>>any ideas, please let me know. Otherwise, I will post with more
>>>>>results later. Thanks, Jeremy
>>>>>
>>>>>-----Original Message-----
>>>>>*From:* Whitlock, Jeremy x66075
>>>>>*Sent:* Friday, July 16, 2004 4:27 PM
>>>>>*To:* AntHill (E-mail)
>>>>>*Subject:* Build Errors Path Null
>>>>>
>>>>>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.calculateRepositoryPr
>>>>        
>>>>
>o
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>p
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>e
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>rties()V(PVCSRepositoryAdapter.java:99)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.adapter.ProfileRepositoryAdapter.init(Lcom.urbancod
>>>>        
>>>>
>e
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>.
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>a
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>nthill.AnthillProject;)V(ProfileRepositoryAdapter.java:146)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.adapter.RepositoryAdapterFactory.getRepositoryAdapt
>>>>        
>>>>
>e
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>r
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>(
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>Lcom.urbancode.anthill.AnthillProject;Ljava.lang.String;)Lcom.u
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>rbancode.anthill.adapter.RepositoryAdapter;(RepositoryAdapterFactory.java
>>>>        
>>>>
>:
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>5
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>6
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.ProjectProperties.getRepositoryAdapter()Lcom.urbanc
>>>>        
>>>>
>o
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>d
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>e
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>.anthill.adapter.RepositoryAdapter;(ProjectProperties.java:248)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.AnthillProject.getRepositoryAdapter()Lcom.urbancode
>>>>        
>>>>
>.
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>a
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>n
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>thill.adapter.RepositoryAdapter;(AnthillProject.java:174)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.BuildManager.build(Lcom.urbancode.anthill.BuildDefi
>>>>        
>>>>
>n
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>i
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>t
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>ion;)V(BuildManager.java:79)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.AnthillProject.releaseProject(Lcom.urbancode.anthil
>>>>        
>>>>
>l
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>.
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>B
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>uildDefinition;)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.urbanc
>>>>        
>>>>
>o
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>d
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>e
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>.anthill.adapter.RepositoryAdapter;(ProjectProperties.java:252)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.AnthillProject.getRepositoryAdapter()Lcom.urbancode
>>>>        
>>>>
>.
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>a
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>n
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>thill.adapter.RepositoryAdapter;(AnthillProject.java:174)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.BuildManager.build(Lcom.urbancode.anthill.BuildDefi
>>>>        
>>>>
>n
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>i
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>t
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>ion;)V(BuildManager.java:79)
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>>>at
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>com.urbancode.anthill.AnthillProject.releaseProject(Lcom.urbancode.anthil
>>>>        
>>>>
>l
>  
>
>>>>    
>>>>
>>>>        
>>>>
>>.
>>
>>
>>    
>>
>>>>    
>>>>
>>>>        
>>>>
>>>B
>>>
>>>
>>>  
>>>
>>>      
>>>
>>>>uildDefinition;)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
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>      
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>Anthill mailing list
>>>>Anthill at lists.urbancode.com
>>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>>>
>>>>
>>>>------------------------------------------------------------------------
>>>>
>>>>_______________________________________________
>>>>Anthill mailing list
>>>>Anthill at lists.urbancode.com
>>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>>>
>>>>
>>>>
>>>>
>>>>    
>>>>
>>>>        
>>>>
>>>_______________________________________________
>>>Anthill mailing list
>>>Anthill at lists.urbancode.com
>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Anthill mailing list
>>>Anthill at lists.urbancode.com
>>>http://lists.urbancode.com/mailman/listinfo/anthill
>>>
>>>
>>>  
>>>
>>>      
>>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>>    
>>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>



More information about the Anthill mailing list