1
|
bash-3.2$ rm -rf kepler
|
2
|
bash-3.2$ mkdir kepler
|
3
|
bash-3.2$ cd kepler
|
4
|
bash-3.2$ svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area
|
5
|
|
6
|
A build-area/settings
|
7
|
A build-area/settings/ptolemy-excludes
|
8
|
|
9
|
#### ... Deleted lots of lines
|
10
|
A build-area/installer/InstallerMemo.txt
|
11
|
A build-area/installer/launch-kepler.xml
|
12
|
A build-area/build.xml
|
13
|
U build-area
|
14
|
Checked out revision 24353.
|
15
|
bash-3.2$ bash-3.2$ cd build-area
|
16
|
bash-3.2$ ant change-to -Dsuite=kepler >& change-to.out
|
17
|
|
18
|
### The Parameter Port has the lines commented out
|
19
|
bash-3.2$ grep Draggable ../ptolemy/src/ptolemy/actor/parameters/ParameterPort.java
|
20
|
//Parameter notDraggable = new Parameter(this,"_notDraggable");
|
21
|
//notDraggable.setPersistent(false);
|
22
|
bash-3.2$ ant force-ptolemy compile >& compile.out
|
23
|
|
24
|
|
25
|
### The .class file is older than the .java file:
|
26
|
bash-3.2$ ls -l ../ptolemy/src/ptolemy/actor/parameters/ParameterPort.java ../ptolemy/target/classes/ptolemy/actor/parameters/ParameterPort.class
|
27
|
-rw-r--r-- 1 cxh staff 9225 May 12 16:26 ../ptolemy/src/ptolemy/actor/parameters/ParameterPort.java
|
28
|
-rw-r--r-- 1 cxh staff 3040 May 12 16:30 ../ptolemy/target/classes/ptolemy/actor/parameters/ParameterPort.class
|
29
|
bash-3.2$ ant run
|
30
|
Buildfile: build.xml
|
31
|
|
32
|
compile:
|
33
|
[echo] Note that you may need to run "ant force-ptolemy compile" to compile ptolemy.
|
34
|
[compile] Compiling configuration-manager...
|
35
|
[compile] Compiling module-manager...
|
36
|
[compile] Compiling core...
|
37
|
[compile] Compiling event-state...
|
38
|
[compile] Compiling util...
|
39
|
[compile] Compiling component-library...
|
40
|
[compile] Compiling sms...
|
41
|
[compile] Compiling data-handling...
|
42
|
[compile] Compiling ssh...
|
43
|
[compile] Compiling io...
|
44
|
[compile] Compiling job...
|
45
|
[compile] Compiling repository...
|
46
|
[compile] Compiling authentication...
|
47
|
[compile] Compiling gui...
|
48
|
[compile] Compiling module-manager-gui...
|
49
|
[compile] Compiling authentication-gui...
|
50
|
[compile] Compiling ecogrid...
|
51
|
[compile] Compiling dataturbine...
|
52
|
[compile] Compiling opendap...
|
53
|
[compile] Compiling actors...
|
54
|
[compile] Compiling loader...
|
55
|
[compile] Compiling r...
|
56
|
[compile] Compiling apple-extensions...
|
57
|
|
58
|
run:
|
59
|
[run] setting dock icon to -Xdock:icon=/Users/cxh/src/kepler/common/resources/icons/kepler-dock-icon.png
|
60
|
[run] Set environment variable: PATH = /Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:/opt/local/bin:/opt/local/sbin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:/usr/bin:/bin:/usr/sbi n:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/usr/texbin:/usr/local/texlive/2007/bin:/Users/cxh/src/kepler/kepler/lib:/Users/cxh/src/kepler/outreach/lib:/Users/cxh/src/kepler/apple-extensions/lib:/Users/cxh/src/kepler/r/lib:/Users/cxh/src/kepler/loader/lib:/Users/cxh/src/kepler/actors/lib:/Users/cxh/src/kepler/directors/lib:/Users/cxh/src/kepler/opendap/lib:/Users/cxh/src/kepler/dataturbine/lib:/Users/cxh/src/kepler/ecogrid/lib:/Users/cxh/src/kepler/authentication-gui/lib:/Users/cxh/src/kepler/module-manager-gui/lib:/Users/cxh/src/kepler/gui/lib:/Users/cxh/src/kepler/authentication/lib:/Users/cxh/src/kepler/repository/lib:/Users/cxh/src/kepler/job/lib:/Users/cxh/src/kepler/io/lib:/Users/cxh/src/kepler/ssh/lib:/Users/cxh/src/kepler/data-handling/lib:/Users/cxh/src/kepler/sms/lib:/Users/cxh/src/kepler/component-library/lib:/Users/cxh/src/kepler/util/lib:/Users/cxh/src/kepler/event-state/lib:/Users/cxh/src/kepler/core/lib:/Users/cxh/src/kepler/common/lib:/Users/cxh/src/kepler/module-manager/lib:/Users/cxh/src/kepler/configuration-manager/lib:/Users/cxh/src/kepler/kepler-tasks/lib:/Users/cxh/src/kepler/ptolemy/lib
|
61
|
[run] Set environment variable: R_HOME = /Library/Frameworks/R.framework/Resources
|
62
|
[run] /Users/cxh/src/kepler
|
63
|
[run] Found OS Extension file: /Users/cxh/src/kepler/apple-extensions/module-info/osextension.txt
|
64
|
[run] loading OS extensions for OS Mac OS X with class org.kepler.osx.KeplerOSXExtension
|
65
|
[run] Building Kars...
|
66
|
[run] Ran additional initialization for module gui from class org.kepler.module.gui.Initialize
|
67
|
[run] Kepler Initializing...
|
68
|
[run] INFO (org.kepler.objectmanager.library.LibraryManager:buildLibrary:328) Building Library...
|
69
|
[run] INFO (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:247) Scanning Local Repositories for KAR files...
|
70
|
[run] INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:374) The Cache is in sync with KAR files in Local Repositories.
|
71
|
[run] INFO (org.kepler.objectmanager.repository.RepositoryManager:<init>:119) adding repos localRepository
|
72
|
[run] searchRepository: false
|
73
|
[run] INFO (org.kepler.objectmanager.repository.RepositoryManager:<init>:119) adding repos keplerRepository
|
74
|
[run] searchRepository: false
|
75
|
[run] INFO (org.kepler.objectmanager.repository.RepositoryManager:<init>:119) adding repos keplerDevRepository
|
76
|
[run] searchRepository: false
|
77
|
[run] *** Attempting to get ResourceBundle for SVG defaults ***
|
78
|
[run] *** svgRenderingMethod = SVG_BATIK_RENDERING ***
|
79
|
|
80
|
BUILD SUCCESSFUL
|
81
|
Total time: 48 seconds
|
82
|
|
83
|
### In the above run, I was not able to replicate the bug
|
84
|
|
85
|
### Edit ParameterPort and uncomment the lines
|
86
|
|
87
|
bash-3.2$ ant force-ptolemy compile >& compile2.out
|
88
|
bash-3.2$ grep Draggable ../ptolemy/src/ptolemy/actor/parameters/ParameterPort.java
|
89
|
Parameter notDraggable = new Parameter(this,"_notDraggable");
|
90
|
notDraggable.setPersistent(false);
|
91
|
bash-3.2$ ls -l ../ptolemy/src/ptolemy/actor/parameters/ParameterPort.java ../ptolemy/target/classes/ptolemy/actor/parameters/ParameterPort.class
|
92
|
-rw-r--r-- 1 cxh staff 9221 May 12 16:34 ../ptolemy/src/ptolemy/actor/parameters/ParameterPort.java
|
93
|
-rw-r--r-- 1 cxh staff 3166 May 12 16:34 ../ptolemy/target/classes/ptolemy/actor/parameters/ParameterPort.class
|
94
|
bash-3.2$ ant run
|
95
|
Buildfile: build.xml
|
96
|
|
97
|
compile:
|
98
|
[echo] Note that you may need to run "ant force-ptolemy compile" to compile ptolemy.
|
99
|
[compile] Compiling configuration-manager...
|
100
|
[compile] Compiling module-manager...
|
101
|
[compile] Compiling core...
|
102
|
[compile] Compiling event-state...
|
103
|
[compile] Compiling util...
|
104
|
[compile] Compiling component-library...
|
105
|
[compile] Compiling sms...
|
106
|
[compile] Compiling data-handling...
|
107
|
[compile] Compiling ssh...
|
108
|
[compile] Compiling io...
|
109
|
[compile] Compiling job...
|
110
|
[compile] Compiling repository...
|
111
|
[compile] Compiling authentication...
|
112
|
[compile] Compiling gui...
|
113
|
[compile] Compiling module-manager-gui...
|
114
|
[compile] Compiling authentication-gui...
|
115
|
[compile] Compiling ecogrid...
|
116
|
[compile] Compiling dataturbine...
|
117
|
[compile] Compiling opendap...
|
118
|
[compile] Compiling actors...
|
119
|
[compile] Compiling loader...
|
120
|
[compile] Compiling r...
|
121
|
[compile] Compiling apple-extensions...
|
122
|
|
123
|
run:
|
124
|
[run] setting dock icon to -Xdock:icon=/Users/cxh/src/kepler/common/resources/icons/kepler-dock-icon.png
|
125
|
[run] Set environment variable: PATH = /Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:/opt/local/bin:/opt/local/sbin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/Users/cxh/bin:/Users/cxh/ptII/bin:/usr/local/apache-maven/bin:/opt/subversion/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/usr/texbin:/usr/local/texlive/2007/bin:/Users/cxh/src/kepler/kepler/lib:/Users/cxh/src/kepler/outreach/lib:/Users/cxh/src/kepler/apple-extensions/lib:/Users/cxh/src/kepler/r/lib:/Users/cxh/src/kepler/loader/lib:/Users/cxh/src/kepler/actors/lib:/Users/cxh/src/kepler/directors/lib:/Users/cxh/src/kepler/opendap/lib:/Users/cxh/src/kepler/dataturbine/lib:/Users/cxh/src/kepler/ecogrid/lib:/Users/cxh/src/kepler/authentication-gui/lib:/Users/cxh/src/kepler/module-manager-gui/lib:/Users/cxh/src/kepler/gui/lib:/Users/cxh/src/kepler/authentication/lib:/Users/cxh/src/kepler/repository/lib:/Users/cxh/src/kepler/job/lib:/Users/cxh/src/kepler/io/lib:/Users/cxh/src/kepler/ssh/lib:/Users/cxh/src/kepler/data-handling/lib:/Users/cxh/src/kepler/sms/lib:/Users/cxh/src/kepler/component-library/lib:/Users/cxh/src/kepler/util/lib:/Users/cxh/src/kepler/event-state/lib:/Users/cxh/src/kepler/core/lib:/Users/cxh/src/kepler/common/lib:/Users/cxh/src/kepler/module-manager/lib:/Users/cxh/src/kepler/configuration-manager/lib:/Users/cxh/src/kepler/kepler-tasks/lib:/Users/cxh/src/kepler/ptolemy/lib
|
126
|
[run] Set environment variable: R_HOME = /Library/Frameworks/R.framework/Resources
|
127
|
[run] /Users/cxh/src/kepler
|
128
|
[run] Found OS Extension file: /Users/cxh/src/kepler/apple-extensions/module-info/osextension.txt
|
129
|
[run] loading OS extensions for OS Mac OS X with class org.kepler.osx.KeplerOSXExtension
|
130
|
[run] Building Kars...
|
131
|
[run] Ran additional initialization for module gui from class org.kepler.module.gui.Initialize
|
132
|
[run] Kepler Initializing...
|
133
|
[run] INFO (org.kepler.objectmanager.library.LibraryManager:buildLibrary:328) Building Library...
|
134
|
[run] INFO (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:247) Scanning Local Repositories for KAR files...
|
135
|
[run] INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:374) The Cache is in sync with KAR files in Local Repositories.
|
136
|
[run] INFO (org.kepler.objectmanager.repository.RepositoryManager:<init>:119) adding repos localRepository
|
137
|
[run] searchRepository: fales
|
138
|
[run] INFO (org.kepler.objectmanager.repository.RepositoryManager:<init>:119) adding repos keplerRepository
|
139
|
[run] searchRepository: false
|
140
|
[run] INFO (org.kepler.objectmanager.repository.RepositoryManager:<init>:119) adding repos keplerDevRepository
|
141
|
[run] searchRepository: false
|
142
|
[run] *** Attempting to get ResourceBundle for SVG defaults ***
|
143
|
[run] *** svgRenderingMethod = SVG_BATIK_RENDERING ***
|
144
|
|
145
|
|
146
|
### In the above run, I was not able to replicate the run.
|