[kepler-dev] In the kepler-2.0 configuration, ant compile does not compile ptolemy-2.0

David Welker david.v.welker at gmail.com
Thu Mar 11 15:14:12 PST 2010


Hi,

Try "ant force-ptolemy."

Not recompiling ptolemy is a feature, rather than a bug. The problem  
is that compilation takes too long when ant has to consider compiling  
ptolemy, even when it is already fully compiled. Since most Kepler  
developers don't change ptolemy, we made this optimization to save time.

If you are working on ptolemy itself, you should use "ant force- 
ptolemy" to compile instead of "ant compile."

-David



On Mar 11, 2010, at 4:08 PM, Chad Berkley wrote:

> Yeah, you're right about it not recompiling ptolemy.  I'm not sure  
> if this is a feature or a bug.  David?
>
> chad
>
>
> Christopher Brooks wrote:
>> I started with
>> mkdir kepler-2.0
>> cd kepler-2.0
>> svn co https://code.kepler-project.org/code/kepler/branches/releases/release-branches/build-area-2.0 
>>  build-area
>> cd build-area
>> ant change-to -Dbranch=https://code.kepler-project.org/code/kepler/branches/releases/release-branches/ 
>>  -Dsuite=kepler-2.0
>> I then did a build and then updated ptolemyII
>> kepler-2.0/ptolemy-8.0/module-info/revision.txt
>> to 57481
>> so that I could try out a bug fix.
>> I then did
>> ant update run
>> My changes were not reflected in the binary, so I did
>> rm ./ptolemy-8.0/target/classes/ptolemy/vergil/basic/ 
>> GetDocumentationAction.class When I ran
>> ant run
>> Then I got a message about GetDocumentationAction.class not being  
>> present.
>> Indeed, it is not there.
>> Running ant compile does not list ptolemy-8.0 as one of the things  
>> that are compiled:
>> bash-3.2$ ant compile
>> Buildfile: build.xml
>> compile:
>>  [compile] Compiling configuration-manager-2.0...
>>  [compile] Compiling module-manager-2.0...
>>  [compile] Compiling core-2.0...
>>  [compile] Compiling event-state-2.0...
>>  [compile] Compiling util-2.0...
>>  [compile] Compiling component-library-2.0...
>>  [compile] Compiling sms-2.0...
>>  [compile] Compiling data-handling-2.0...
>>  [compile] Compiling ssh-2.0...
>>  [compile] Compiling io-2.0...
>>  [compile] Compiling job-2.0...
>>  [compile] Compiling repository-2.0...
>>  [compile] Compiling authentication-2.0...
>>  [compile] Compiling gui-2.0...
>>  [compile] Compiling module-manager-gui-2.0...
>>  [compile] Compiling authentication-gui-2.0...
>>  [compile] Compiling ecogrid-2.0...
>>  [compile] Compiling opendap-2.0...
>>  [compile] Compiling actors-2.0...
>>  [compile] Compiling loader-2.0...
>>  [compile] Compiling r-2.0...
>>  [compile] Compiling apple-extensions-2.0...
>> BUILD SUCCESSFUL
>> Total time: 1 second
>> bash-3.2$
>> However, running
>> ant clean-all
>> and then
>> ant compile
>> seems to work.
>> _Christopher
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list