[kepler-dev] Kepler build problems: GiottDirector and MenuMapper. Was Re: [Fwd: [kepler-nightly] BUILD for wrp (runid=182103) FAILED.]

Christopher Brooks cxh at eecs.berkeley.edu
Tue Sep 15 10:16:00 PDT 2009


Hi Chad,
Shanna fixed this at around 10pm last night,
the fix was in actor/Director.java

There could be issues with the "stable" version of
Ptolemy if the version is not getting updated.  There
is an outstanding bug for this, any chance of it getting fixed?

I'm building from the ptII head and now get:

   [compile] Compiling 24 source files to /Users/cxh/src/kepler/util/target/classes
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:207: cannot find symbol
   [compile] symbol  : variable MenuMapper
   [compile] location: class org.kepler.gui.KeplerContextMenuFactory
   [compile] 				if (nextKey.indexOf(MenuMapper.MENU_SEPARATOR_KEY) < 0) {
   [compile]                                                     ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:209: cannot find symbol
   [compile] symbol  : variable MenuMapper
   [compile] location: class org.kepler.gui.KeplerContextMenuFactory
   [compile] 					action = MenuMapper.getActionFor(nextVal,
   [compile]                                                  ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:223: cannot find symbol
   [compile] symbol  : variable MenuMapper
   [compile] location: class org.kepler.gui.KeplerContextMenuFactory
   [compile] 				MenuMapper.addMenuFor(nextKey, action, contextMenu,
   [compile]                                 ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:287: package MenuMapper does not exist
   [compile] 				+ MenuMapper.MENU_PATH_DELIMITER.length();
   [compile]                                             ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:286: operator + cannot be applied to int,MenuMapper.MENU_PATH_DELIMITER.length
   [compile] 		menuPathPrefixLength = _menuBaseName.length()
   [compile]                                                            ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:287: incompatible types
   [compile] found   : <nulltype>
   [compile] required: int
   [compile] 				+ MenuMapper.MENU_PATH_DELIMITER.length();
   [compile]                                 ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:311: cannot find symbol
   [compile] symbol  : variable MenuMapper
   [compile] location: class org.kepler.gui.KeplerContextMenuFactory
   [compile] 						MenuMapper.MENU_PATH_DELIMITER, retMap);
   [compile]                                                 ^
   [compile] /Users/cxh/src/kepler/util/src/org/kepler/gui/KeplerContextMenuFactory.java:310: cannot find symbol
   [compile] symbol  : variable MenuMapper
   [compile] location: class org.kepler.gui.KeplerContextMenuFactory
   [compile] 				MenuMapper.storePTIIMenuItems(menuItem, pathBuff,
   [compile]                                 ^
   [compile] Note: Some input files use unchecked or unsafe operations.
   [compile] Note: Recompile with -Xlint:unchecked for details.
   [compile] 8 errors



Chad Berkley wrote:
> Hey Christopher,
> 
> You might have already fixed this, but the build is failing with a 
> couple ptII errors:
> 
> compile:
>   [compile] Compiling ptolemy...
>   [compile] Getting Ptolemy paths from 
> /home/condor/execute/dir_17176/userdir/kepler-run/modules/ptolemy/.classpath.default 
> 
>   [compile] Compiling 712 source files to 
> /home/condor/execute/dir_17176/userdir/kepler-run/modules/ptolemy/target/classes 
> 
>   [compile] 
> /home/condor/execute/dir_17176/userdir/kepler-run/modules/ptolemy/ptolemy/domains/giotto/kernel/GiottoDirector.java:839: 
> cannot find symbol
>   [compile] symbol  : method _getWCET()
>   [compile] location: class ptolemy.actor.Director
>   [compile]                 System.out.println(dir._getWCET());
>   [compile]                                       ^
>   [compile] 
> /home/condor/execute/dir_17176/userdir/kepler-run/modules/ptolemy/ptolemy/domains/giotto/kernel/GiottoDirector.java:851: 
> cannot find symbol
>   [compile] symbol  : method _getWCET()
>   [compile] location: class ptolemy.actor.Director
>   [compile]                     double dummyWCET = dir._getWCET();
>   [compile]                                           ^
>   [compile] Note: Some input files use or override a deprecated API.
>   [compile] Note: Recompile with -Xlint:deprecation for details.
>   [compile] Note: Some input files use unchecked or unsafe operations.
>   [compile] Note: Recompile with -Xlint:unchecked for details.
>   [compile] 2 errors
> 
> 
> chad
> 
> 
> -------- Original Message --------
> Subject: [kepler-nightly] BUILD for wrp (runid=182103) FAILED.
> Date: Mon, 14 Sep 2009 22:24:00 -0500
> From: Kepler NMI Build <mbjones at nmi-s003.cs.wisc.edu>
> To: kepler-nightly at kepler-project.org
> 
> Your Run results
> ================
> runid             = 182103
> gid               = mbjones_nmi-s003.cs.wisc.edu_1252965601_30690
> result            = FAILED (status = 1)
> description       = Build for the suite wrp
> component         = wrp
> component version = wrp-trunk
> run_type          = BUILD
> platforms         = nmi:x86_fc_5
> user              = mbjones
> start             = 2009-09-15 03:00:01 gmt
> finish            = 2009-09-15 03:23:43 gmt
> submit host       = nmi-s003.cs.wisc.edu
> directory         = 
> /nmi/run/mbjones/2009/09/mbjones_nmi-s003.cs.wisc.edu_1252965601_30690
> url               = 
> http://nmi-s003.cs.wisc.edu/nmi/index.php?page=results/runDetails&runid=182103 
> 
> 
> List of failed tasks on different platforms
> ===========================================
> 
> Platform: nmi:x86_fc_5
> ---------
> task_id     code     task_name
> 
> 18032555         1     platform_job
> 18032583         1     remote_task
> 
> 
> You can find detailed info about your run and access the log/out/err 
> files by clicking the above mentioned url
> 
> 
> - NMI framework automailer
> _______________________________________________
> Kepler-nightly mailing list
> Kepler-nightly at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-nightly

-- 
Christopher Brooks (cxh at eecs berkeley edu) 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 (W-F) 510.655.5480


More information about the Kepler-dev mailing list