You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "David Van Couvering (JIRA)" <de...@db.apache.org> on 2005/03/31 00:52:29 UTC

[jira] Created: (DERBY-190) Derby build should be incremental

Derby build should be incremental
---------------------------------

         Key: DERBY-190
         URL: http://issues.apache.org/jira/browse/DERBY-190
     Project: Derby
        Type: Improvement
  Components: Build tools  
    Versions: 10.0.2.2    
    Reporter: David Van Couvering


You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "David Van Couvering (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_61850 ]
     
David Van Couvering commented on DERBY-190:
-------------------------------------------

The documentation in BUILDING.txt says:

-------
Notes:
(1) The estimated total time for build completion is ~5-10 minutes.

(2) Derby build environment is NOT dependency based build environment.
    Make sure to check out explaination of "clobber" target in
    section 4.1 of this document.
--------

This is why I assumed incremental builds were not possible

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering

>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_12319425 ] 

Andrew McIntyre commented on DERBY-190:
---------------------------------------

David: you should commit your patch for this now. :-)

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering
>  Attachments: BUILDING.diff
>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "David Van Couvering (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_61876 ]
     
David Van Couvering commented on DERBY-190:
-------------------------------------------

It looks like generally people are comfortable with the way it works.  For newbies, I am updating BUILDING.txt to make it more clear how this works.  Basically this is a cut and paste from Jeremy's comment on this bug.  

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering
>  Attachments: BUILDING.diff
>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "Jeremy Boynes (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_61849 ]
     
Jeremy Boynes commented on DERBY-190:
-------------------------------------

Generally you don't need to - what is making this necessary for you?

FWIW I tend to work in Idea and have it compile the classes which has the side effect of handling dependencies as well as just modifications. I run a final build with Ant when looking to do a test run (which takes long enough for coffee anyway).

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering

>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "Jeremy Boynes (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_61853 ]
     
Jeremy Boynes commented on DERBY-190:
-------------------------------------

The ant task the build uses to compile is incremental but does not check dependencies. Thus a second build will recompile files that have changed but not files that depend on them that have not been touched. This works most of the time.

The clobber (and clean which removes the object code but not generated source code) targets would typically be run after an update, before a testrun (and hence before commit), or when you see strange AbstractMethodErrors and the like.

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering

>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-190) Derby build should be incremental

Posted by "David Van Couvering (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=history ]

David Van Couvering updated DERBY-190:
--------------------------------------

    Attachment: BUILDING.diff

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering
>  Attachments: BUILDING.diff
>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "Myrna van Lunteren (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_61855 ]
     
Myrna van Lunteren commented on DERBY-190:
------------------------------------------

ant also does not clean any files that have been deleted - so you might possibly pick up things that are no longer there. 

But that is rare. I usually only rebuild if I'm ready to do something official - like running the tests for the last time before submitting a patch - or if I get strange errors. 

That's how I read that sentence in BUIILDING.TXT: - clobber and rebuild when you have *problems* ,after svn update. 

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering

>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (DERBY-190) Derby build should be incremental

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=all ]

Andrew McIntyre closed DERBY-190.
---------------------------------

    Resolution: Fixed

No further comments, closing.

> Derby build should be incremental
> ---------------------------------
>
>                 Key: DERBY-190
>                 URL: http://issues.apache.org/jira/browse/DERBY-190
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.0.2.2
>            Reporter: David Van Couvering
>         Attachments: BUILDING.diff
>
>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_12458374 ] 
            
Andrew McIntyre commented on DERBY-190:
---------------------------------------

David, you filed this issue, can this be closed?

It's unfortunate that a true incremental build isn't likely to be possible any time soon, esp. since Ant and all the Java IDEs I know of don't anticipate source dependencies on multiple JDKs. Since I suspect we're in the extreme minority on this, I don't expect to ever see a real solution for this issue.

If there are no further comments on this issue, I'll close it shortly.

> Derby build should be incremental
> ---------------------------------
>
>                 Key: DERBY-190
>                 URL: http://issues.apache.org/jira/browse/DERBY-190
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.0.2.2
>            Reporter: David Van Couvering
>         Attachments: BUILDING.diff
>
>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DERBY-190) Derby build should be incremental

Posted by "David Van Couvering (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-190?page=comments#action_61851 ]
     
David Van Couvering commented on DERBY-190:
-------------------------------------------

Forgot to add this.  Section 4.1 of BUILDING.txt says


  clobber: remove all built objects except jars. You should run
           this target if you have source code upgrade or
           you changed the source code and you are getting
           some errors.

Every time I do a svn update it's a source code upgrade and I should do a clobber.  One concern I have is that because of this many developers will not want to deal with a source code upgrade and their local svn tree will get stale. 

> Derby build should be incremental
> ---------------------------------
>
>          Key: DERBY-190
>          URL: http://issues.apache.org/jira/browse/DERBY-190
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Versions: 10.0.2.2
>     Reporter: David Van Couvering

>
> You should not have to clobber and rebuild from scratch each time you update or modify your source.  This is time-consuming and affects overall productivity.    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira