History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-773
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Thilo Schönfelder
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

svn checkout by date and time

Created: 14/Dec/10 12:26 PM   Updated: 14/Dec/10 12:26 PM
Component/s: None
Affects Version/s: 3.1.11
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
It is not possible to set the -r switch form svn checkout with a date/time combination like -r {20101213T1200} through quickbuild.
This will cause an error like:

11:43:30,676 [master>Check Out SW08_Base@PC010123:8810] ERROR - Step 'Check Out SW08_Base' is failed.
    java.lang.NumberFormatException: For input string: "{20101213T2359}"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Long.parseLong(Unknown Source)
        at java.lang.Long.parseLong(Unknown Source)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository.getChangesBetween(SvnRepository.java:541)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.CGLIB$getChangesBetween$19(<generated>)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf$$FastClassByCGLIB$$d718820d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.getChangesBetween(<generated>)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository.getChangesBetween(SvnRepository.java:1)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.CGLIB$getChangesBetween$20(<generated>)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf$$FastClassByCGLIB$$d718820d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.getChangesBetween(<generated>)
        at com.pmease.quickbuild.repositorysupport.Repository.getChangesSince(Repository.java:459)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.CGLIB$getChangesSince$62(<generated>)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf$$FastClassByCGLIB$$d718820d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.getChangesSince(<generated>)
        at com.pmease.quickbuild.repositorysupport.Repository.getChanges(Repository.java:393)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.CGLIB$getChanges$48(<generated>)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf$$FastClassByCGLIB$$d718820d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.getChanges(<generated>)
        at com.pmease.quickbuild.repositorysupport.Repository.getChanges(Repository.java:377)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.CGLIB$getChanges$49(<generated>)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf$$FastClassByCGLIB$$d718820d.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
        at com.pmease.quickbuild.plugin.scm.svn.SvnRepository$$EnhancerByCGLIB$$8d530fbf.getChanges(<generated>)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep.run(CheckoutStep.java:96)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep$$EnhancerByCGLIB$$ced5fde2.CGLIB$run$0(<generated>)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep$$EnhancerByCGLIB$$ced5fde2$$FastClassByCGLIB$$22d15de.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep$$EnhancerByCGLIB$$ced5fde2.run(<generated>)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:451)
        at com.pmease.quickbuild.stepsupport.StepJob.execute(StepJob.java:34)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:120)
        at java.lang.Thread.run(Unknown Source)
11:43:30,682 [master>Check Out SW08_Base@PC010123:8810] INFO - Workspace mutex released.
11:43:30,693 [master@PC010123:8810] INFO - Checking execute condition of step 'master>Count Lines in different ways'...
11:43:30,694 [master@PC010123:8810] INFO - Execute condition not satisfied, skip step 'master>Count Lines in different ways'.
11:43:30,694 [master@PC010123:8810] INFO - Checking execute condition of step 'master>Publish LoC statistics'...
11:43:30,694 [master@PC010123:8810] INFO - Execute condition not satisfied, skip step 'master>Publish LoC statistics'.
11:43:30,694 [master@PC010123:8810] INFO - Checking execute condition of step 'master>Publish count results'...
11:43:30,694 [master@PC010123:8810] INFO - Execute condition not satisfied, skip step 'master>Publish count results'.
11:43:30,694 [master@PC010123:8810] INFO - Executing post-execute script...
11:43:30,696 [master@PC010123:8810] ERROR - Step 'master' is failed.
    com.pmease.quickbuild.QuickbuildException: Composite step 'master' failed due to unsatisfication of success condition.
        at com.pmease.quickbuild.stepsupport.CompositeStep.run(CompositeStep.java:98)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:451)
        at com.pmease.quickbuild.stepsupport.StepJob.execute(StepJob.java:34)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:120)
        at java.lang.Thread.run(Unknown Source)


The same command on the shell works fine.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.