[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 19:04:07 PST 2010


I should add another point.

Previously, I mentioned that you should type "ant force-ptolemy"  
instead of compiling. Well, it turns out that you should do this  
BEFORE compiling. "ant force-ptolemy" use to compile for you as well,  
but someone commented that out for some reason.

So, instead of just:

	ant compile

You need to:

	ant force-ptolemy
	ant compile


Chad, did you comment out the compilation functionality in 'ant force- 
ptolemy'? If so, was there a reason?

-David


On Mar 11, 2010, at 4:00 PM, 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
> -- 
> Christopher Brooks, PMP                       University of California
> CHESS Executive Director                      US Mail: 337 Cory Hall
> Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
> ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
> home: (F-Tu) 707.665.0131 cell: 707.332.0670
> _______________________________________________
> 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