[kepler-dev] 2.0.0 beta1 branch instructions

Christopher Brooks cxh at eecs.berkeley.edu
Thu Mar 11 15:34:42 PST 2010


Hi Chad,

It seems like the check out is coming from the trunk or some other branch

I did

    795  svn co https://code.kepler-project.org/code/kepler/branches/releases/release-branches/build-area-2.0 build-area
   796  cd build-area
   797  ant change-to -Dsuite=kepler-2.0

I did get
[change-to] Checked out revision 57393.

However, I think that revision is in the trunk, not the branch.

   798  ant run
   799  pwd
   800  cd /Users/cxh/src/kepler-2.0a/build-area

Here I updated ptolemy-8.0/module-info/revision.txt so that included my most recent
change.  BTW - I checked in an update to that file.

   801  ant update
   802  ant compile
   803  ant run

Here I realized that again, my code was not being compiled, possibly because the
mod time of the file was before the mod time of the .class file

   804  rm ../ptolemy-8.0/target/classes/ptolemy/vergil/basic/GetDocumentationAction.class
   805  ant compile
   806  ant clean-all run


Below, you can see that the README.txt from ptolemy-8.0 is from the trunk, not the
branch:


bash-3.2$ cd ~/src/kepler-2.0a/ptolemy-8.0/src
bash-3.2$ svn info README.txt
Path: README.txt
Name: README.txt
URL: svn://source.eecs.berkeley.edu/chess/ptII/trunk/README.txt
Repository Root: svn://source.eecs.berkeley.edu/chess/ptII
Repository UUID: 3435fffc-ccdd-42ab-8df9-e21c6b74a643
Revision: 57481
Node Kind: file
Schedule: normal
Last Changed Author: lenormand
Last Changed Rev: 56143
Last Changed Date: 2009-11-12 08:02:12 -0800 (Thu, 12 Nov 2009)
Text Last Updated: 2009-11-12 08:02:12 -0800 (Thu, 12 Nov 2009)
Checksum: 9320d1f4c0a97e2276a897d841a58161

bash-3.2$ cd ~/ptII8.0.beta
bash-3.2$ svn info README.txt
Path: README.txt
Name: README.txt
URL: svn+ssh://source.eecs.berkeley.edu/chess/ptII/branches/rel-8-0-beta-2/README.txt
Repository Root: svn+ssh://source.eecs.berkeley.edu/chess/ptII
Repository UUID: 3435fffc-ccdd-42ab-8df9-e21c6b74a643
Revision: 57384
Node Kind: file
Schedule: normal
Last Changed Author: lenormand
Last Changed Rev: 56143
Last Changed Date: 2009-11-12 08:02:12 -0800 (Thu, 12 Nov 2009)
Text Last Updated: 2009-11-12 08:02:12 -0800 (Thu, 12 Nov 2009)
Checksum: 9320d1f4c0a97e2276a897d841a58161

bash-3.2$


I think that ptolemy-8.0/src is being checked out from the trunk, not
branches/rel-8-0-beta-2

_Christopher

On 3/11/10 2:58 PM, Chad Berkley wrote:
> Hi Christopher,
>
> I thought we had fixed this bug a couple weeks ago. Did you do an update
> or a new checkout? If you only did an update, could you try a new
> checkout? You should only need to do
>
> svn co
> https://code.kepler-project.org/code/kepler/branches/releases/release-branches/build-area-2.0
> build-area
>
> ant change-to -Dsuite=kepler-2.0
>
> I just tried this with a new checkout and it worked for me. It should
> get version 57393 and it did. Let me know if it is still not working for
> you.
>
> chad
>
> Christopher Brooks wrote:
>> Hi Chad,
>> It looks like the version of the ptII tree that is being checked out
>> when I build kepler-2.0
>> is using the ptII trunk and not the ptII rel-2-0-beta-2 branch.
>>
>> I followed the instructions below and at one point, this output occurred:
>> [update-modules] svn -r 57481 update --accept postpone
>> /Users/cxh/src/kepler-2.0/ptolemy-8.0/src
>>
>> However, kepler-2.0/ptolemy-8.0/src/ptolemy/configs/full/intro.htm
>> mentions Ptolemy II 8.1.devel, which means it is from the trunk, not
>> the release branch.
>>
>> If that file was the version in the release branch, then it would
>> mention 8.0.beta
>>
>> To check out the release branch, use
>> cd ../ptolemy-8.0
>> svn co
>> svn+ssh://source.eecs.berkeley.edu/chess/ptII/branches/rel-8-0-beta-2 src
>>
>> _Christopher
>>
>> On 2/22/10 2:58 PM, Chad Berkley wrote:
>>> Hi,
>>>
>>> The code has been branched for the 2.0 kepler release. Here are the
>>> instructions for getting and using the branch:
>>>
>>> 1) check out the build-area from the branch:
>>> svn co
>>> https://code.kepler-project.org/code/kepler/branches/releases/release-branches/build-area-2.0
>>>
>>> build-area
>>>
>>> cd build-area
>>>
>>> 2) change-to the branched kepler suite:
>>> ant change-to
>>> -Dbranch=https://code.kepler-project.org/code/kepler/branches/releases/release-branches/
>>>
>>> -Dsuite=kepler-2.0
>>>
>>> 3) ant run
>>>
>>> I've tested this on a clean checkout and it worked with ant. I have not
>>> tested it on any IDEs yet. Please let me know if it doesn't work for
>>> you.
>>>
>>> All Kepler 2.0 code must now be checked into this branch. Any code that
>>> should also be in the trunk must be merged accordingly.
>>>
>>> Note that this is using rev 57289 of ptolemy which is the 8.0-beta2
>>> branch. Please do not run validate-ptolemy on the branch. I will
>>> update the revision as Christopher releases new versions of ptolemy. At
>>> RC1, I will freeze the version of ptII we are using.
>>

-- 
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


More information about the Kepler-dev mailing list