[jira] Commented: (CONTINUUM-1565) continuum does not see update files via scm plugin

2008年3月02日 18:56:04 -0800

 [ 
http://jira.codehaus.org/browse/CONTINUUM-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125851
 ] 
Mark commented on CONTINUUM-1565:
---------------------------------
I am seeing this behavior as well. After doing some playing around with it, it 
appears to happen when you tell continuum to do a fresh checkout on each build. 
 This is what seems to be happening from the logs:
1. Hey something is different in the repo than what I have in my working copy. 
I better do another build.
2. Hm. they want to erase everything first, so I'll just delete that directory 
and check everything out again.
3. Ok now where was I. Oh yeah I should check to see if anything needs built.
4. Hey repository! Do you have anything newer than what I have right here? 
5. No, ok I'll just sit tight then.
Here is the log in more detail:
[#|2008年03月02日T20:44:00.051-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=33;_ThreadName=defaultScheduler_Worker-9;|2008年03月02日
 20:44:00,051 [defaultScheduler_Worker-9] INFO 
org.apache.maven.continuum.build.settings.SchedulesActivator:default - 
>>>>>>>>>>>>>>>>>>>>> Executing build job (DEFAULT_SCHEDULE)...
|#]
[#|2008年03月02日T20:44:00.112-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=33;_ThreadName=defaultScheduler_Worker-9;|2008年03月02日
 20:44:00,112 [defaultScheduler_Worker-9] INFO 
org.apache.maven.continuum.Continuum:default - Enqueuing 'RankInterview 
Tapestry 5 Application' with build definition 'default maven2 buildDefinition' 
- id=11).
|#]
[#|2008年03月02日T20:44:00.115-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,115 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - 
Initializing build
|#]
[#|2008年03月02日T20:44:00.131-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,131 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - Starting 
build of RankInterview Tapestry 5 Application
|#]
[#|2008年03月02日T20:44:00.163-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,163 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - Purging 
exiting working copy
|#]
[#|2008年03月02日T20:44:00.164-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,164 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - 
Performing action clean-working-directory
|#]
[#|2008年03月02日T20:44:00.513-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,513 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - Updating 
working dir
|#]
[#|2008年03月02日T20:44:00.514-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,514 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - 
Performing action check-working-directory
|#]
[#|2008年03月02日T20:44:00.517-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,517 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - 
Performing action checkout-project
|#]
[#|2008年03月02日T20:44:00.526-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,526 [pool-1-thread-1] INFO 
org.apache.maven.continuum.scm.ContinuumScm:default - Checking out project: 
'RankInterview Tapestry 5 Application', id: '6' to 
'/opt/glassfish/domains/domain1/applications/j2ee-modules/continuum-webapp-1.1/WEB-INF/working-directory/6'.
|#]
[#|2008年03月02日T20:44:00.609-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,609 [pool-1-thread-1] INFO 
org.apache.maven.scm.manager.ScmManager:default - Executing: /bin/sh -c "cd 
/opt/glassfish/domains/domain1/applications/j2ee-modules/continuum-webapp-1.1/WEB-INF/working-directory
 && svn --username dude --password ******* --non-interactive checkout 
http://ub.xeric.net/svn/projects/trunk/RankInterview/ 6"
|#]
[#|2008年03月02日T20:44:00.610-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:00,610 [pool-1-thread-1] INFO 
org.apache.maven.scm.manager.ScmManager:default - Working directory: 
/opt/glassfish/domains/domain1/applications/j2ee-modules/continuum-webapp-1.1/WEB-INF/working-directory
|#]
[#|2008年03月02日T20:44:02.113-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:02,112 [pool-1-thread-1] INFO 
org.apache.maven.continuum.scm.ContinuumScm:default - Checked out 46 files.
|#]
[#|2008年03月02日T20:44:02.170-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:02,170 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - Merging 
SCM results
|#]
[#|2008年03月02日T20:44:02.242-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=pool-1-thread-1;|2008年03月02日
 20:44:02,242 [pool-1-thread-1] INFO 
org.apache.maven.continuum.buildcontroller.BuildController:default - The 
project was not built because no changes were detected in sources since the 
last build.
|#]
> continuum does not see update files via scm plugin
> --------------------------------------------------
>
> Key: CONTINUUM-1565
> URL: http://jira.codehaus.org/browse/CONTINUUM-1565
> Project: Continuum
> Issue Type: Bug
> Components: SCM
> Affects Versions: 1.1-beta-4
> Environment: linux 2.6.16.18, Perforce Server 2005.2.PATCH/100601, 
> maven 2.0.7, jdk 1.6.0_03
> Reporter: Spencer White
>
> BuildController does not see changes and therefor does not do a build. Here 
> is how I tested:
> 1. cd /project/dir
> 2. find ./ -type f -exec md5sum {} \; > 2.old
> 3. check in changes to perforce from another client
> 4. wait for Continuum to do run it's scheduled task to update code
> 5. Continuum:
> 346298228 [pool-1-thread-1] INFO 
> org.apache.maven.continuum.buildcontroller.BuildController:default - Merging 
> SCM results
> 346298254 [pool-1-thread-1] INFO 
> org.apache.maven.continuum.buildcontroller.BuildController:default - The 
> project was not built because no changes were detected in sources since the 
> last build.
> 346298255 [pool-1-thread-1] INFO 
> org.apache.maven.continuum.buildcontroller.BuildController:default - No 
> changes, not building
> 6. find ./ -type f -exec md5sum {} \; > 2.new
> 7. diff 2.old 2.new
> 28c27
> < d408dc1aab6914b85e3bd2e1ae609368 
> ./src/main/java/com/visto/apps/client/IPhoneyClientProtocolHandler.java
> ---
> > 79dfa098c212744ffec226a8126bb3f5 
> > ./src/main/java/com/visto/apps/client/IPhoneyClientProtocolHandler.java
> IPhoneyClientProtocolHandler.java was the file that I had changed and checked 
> into perforce. 
> In Continuum 1.0.3 this project worked fine but it looks like maven-scm used 
> p4 sync to update files. Then I had to add another project on the same 
> perforce server and had to upgrade to 1.1-beta-4.
> This may have something to do with the maven-scm plugin possibly?
> Thanks.
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
 

Reply via email to