This list is closed, nobody may subscribe to it.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(2) |
Feb
(15) |
Mar
(10) |
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
(2) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
2005 |
Jan
(3) |
Feb
(17) |
Mar
(6) |
Apr
(13) |
May
(17) |
Jun
(53) |
Jul
(36) |
Aug
(29) |
Sep
(17) |
Oct
(21) |
Nov
(37) |
Dec
(25) |
2006 |
Jan
|
Feb
(29) |
Mar
(85) |
Apr
(27) |
May
(25) |
Jun
(57) |
Jul
(3) |
Aug
(8) |
Sep
(24) |
Oct
(43) |
Nov
(22) |
Dec
(10) |
2007 |
Jan
(29) |
Feb
(38) |
Mar
(11) |
Apr
(29) |
May
(16) |
Jun
(1) |
Jul
(20) |
Aug
(25) |
Sep
(6) |
Oct
(25) |
Nov
(16) |
Dec
(14) |
2008 |
Jan
(18) |
Feb
(12) |
Mar
(3) |
Apr
(1) |
May
(23) |
Jun
(3) |
Jul
(7) |
Aug
|
Sep
(16) |
Oct
(27) |
Nov
(16) |
Dec
(7) |
2009 |
Jan
(1) |
Feb
(12) |
Mar
|
Apr
(16) |
May
(2) |
Jun
(4) |
Jul
|
Aug
(4) |
Sep
(7) |
Oct
(12) |
Nov
(8) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(8) |
Jul
|
Aug
(11) |
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
2011 |
Jan
(14) |
Feb
(20) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
(23) |
Jul
(1) |
Aug
(3) |
Sep
(5) |
Oct
(19) |
Nov
(1) |
Dec
(5) |
2012 |
Jan
(19) |
Feb
(4) |
Mar
|
Apr
(1) |
May
(2) |
Jun
(7) |
Jul
(33) |
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(3) |
Apr
(48) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(15) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(9) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Leo F. <leo...@ne...> - 2013-04-09 09:35:03
|
Hi Anthony, Nice to hear from you --- and apologies for the delay. I was away in Brazil on holiday in the middle of nowhere :-)… --- git I had a similar feeling when I started using it (through Andrius diligent suggestion for my doing so). It is away better than SVN in various respects and not that difficult in itself. A few new concepts like push/pull/fetch, but they are natural (distributed) counterparts for commit/update/check. --- IDEs and CZT.jar the jEdit development was meant as a testbed for how a CZT GUI would look like / need --- if I recall correctly. In itself jEdit came a long way since then and improved in various respects. We keep it alive to make allow for a light-weight IDE usage, but not all recent features have been implemented for it. Andrius is an Eclipse wizard, having worked in industry building Eclipse-based plugins and systems. This made the transition to Eclipse (and update over the original development by Mark and his students) possible. Again, I insisted to keep the IDE separate (and a reflection of) the CZT.jar, which does contain access to all recent/new features. Eclipse has extra bells and whistles, though. They make specification and cross referencing much easier / smoother than in jEdit or other editor. --- new features Over the last two years Andrius an I have been developed CZT in a number of areas --- perhaps because we are both at Newcastle there was not much mail traffic :-) I will write a separate email on these features. ---- release Andrius recently added nightly builds, which means you can get newest (stable) features without much fuss (i.e. no need for long builds and/or GIT). We make a point about only pushing (new repository versions) stable versions of features (i.e. those that passed tests and that we have worked with in some model in practice). This way nightly builds are reliable. We plan to have a release over the summer, and Andrius is launching soon (coming week) a new website / doc site too ! --- memory see other mail on new features... --------- Best, Leo On 31 Mar 2013, at 17:52, Anthony Hall <an...@an...<mailto:an...@an...>> wrote: Dear Andrius Thanks very much for your instant response. I suppose I had better bite the bullet and get going with git :(. That is correct - the error you are seeing is due to incompatibilities with jEdit 5. The latest sources in CZT Git repository do have this fixed and should be working with jEdit 5. Is there are reason you need the jEdit plugin in particular? There's also an Eclipse-based CZT IDE available - a "preview" snapshot of the latest version is available in http://sourceforge.net/projects/czt/files/czt-ide/2.0-pre1/ . That is for Eclipse-based IDE though, I did not add the czt.jar and jEdit plugins there yet. The Eclipse-based IDE has actually more features and polish than the jEdit plugins.. To be honest I don’t know. I’ve never used either Eclipse or jEdit (because of course I use my own Z Word Tools as an editor). The reason I was looking at it is that I may have to do some work with Object-Z and I wanted to see what support CZT had for editing Object-Z. What do you think is the easiest way to do that? I am planning to add "nightly" builds to CZT downloads section in the next weeks so there would be easier downloads for people who do not want to build from scratch. That would be useful – though looking at the instructions it seemed I had to do a local build as a prerequisite for installing the jEdit plugins? On the subject of builds, I note that there hasn’t been a release of CZT for ages – are there plans for a release? I’m also feeling guilty because I have on my to-do list to look at the memory consumption problem. One reason I haven’t done really been motivated to do this is because I haven’t seen much activity on the mailing lists. But perhaps that’s deceptive. How active is the project nowadays? Let us know what are your preferences. I’d really welcome your advice – I’m not at all experienced in this area. Many thanks Anthony Andrius Velykis Newcastle University On Sun, Mar 31, 2013 at 4:31 PM, Anthony Hall <an...@an...<mailto:an...@an...>> wrote: I've got a (perhaps out of date) Subversion Revision 8214 of CZT and I'm trying to get the jEdit plugins working. When I try to start the Zcharmap plugin I get this message: A BeanShell error occurred. java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.TextAreaPainter.isAntiAliasEnabled()Z at ZCharMap.<init>(ZCharMap.java:93) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationEx pression.java:123) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationE xpression.java:114) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.ja va:62) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102 ) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(Docka bleWindowFactory.java:467) at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWi ndowManagerImpl.java:354) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(Dockable WindowFactory.java:498) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3324) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4 02) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI .java:877) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java :211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:12 8) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) I realise that perhaps I need to update to the latest sources but as I haven't got git installed and this is likely to involve heavy work with Maven, I wondered if anyone could advise whether this is in fact the problem or whether there is something different going wrong? Thanks Anthony ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ CZT-Devel mailing list CZT...@li...<mailto:CZT...@li...> https://lists.sourceforge.net/lists/listinfo/czt-devel ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2_______________________________________________ CZT-Devel mailing list CZT...@li...<mailto:CZT...@li...> https://lists.sourceforge.net/lists/listinfo/czt-devel |
From: Andrius V. <and...@ne...> - 2013-04-09 08:27:04
|
Dear Anthony, Thanks for the info. Which CZT sources are you using? I am looking at the latest CZT source code and have problems matching your stack trace to my code.. The calls that are made in your stack trace are non-existent in my code :( Are you working on the `master` branch of the CZT Git repository? Or are you using the nighly build czt.jar? Best regards, Andrius On Mon, Apr 8, 2013 at 5:31 PM, Anthony Hall <an...@an...>wrote: > Dear Andrius**** > > ** ** > > Thank you again for a very swift response**** > > ** ** > > The SectionManager did change - mostly internally (we added a support for > "transactions" as a step towards better incremental-checking of Z sections > - so that you could re-check only downstream dependencies without throwing > away all upstream ones). Note, however, that this change enforces a bit > stricter way of how it should be called - so let us assist if you encounter > problems regarding to it.**** > > ** ** > > The change in SectionManager interface you encountered is that it now > explicitly requires to provide a dialect to use (see > net.sourceforge.czt.session.Dialect enum for appropriate values). So in > your case it would be `new SectionManager(Dialect.Z)` for Z checking.**** > > Thank you. I did that and it all compiled OK. However, now I seem to be > running foul of the new transaction features, because I’m getting a lot of > test failures of the form “SectionInfoException: There is an ongoing > transaction for the given key”**** > > Of course I’m not doing anything manually with transactions so I’ve really > not got much clue as to how to fix this.**** > > ** ** > > The tests work be repeatedly calling the main procedure of my class, and > that does a new SectionManager(Dialect.Z) each time. So I’m not sure what > else I need to do. **** > > ** ** > > I attach the main class (CZTCheck, the class that runs the test > (CZTTestUtils), a failing test set and the surefire reports. If you could > point me at what I need to do I’d be most grateful!**** > > ** ** > > You can generate the JavaDocs yourself by running `mvn javadoc:javadoc` > for some module. They will be put into `target/site/apidocs` of the project > (I think).**** > > That seems to work, yes – though I got a lot of warnings like**** > > [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is > missing, no dependency information available**** > > [WARNING] Failed to retrieve plugin descriptor for > org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin > org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could > not be resolved: Failed to read artifact descriptor for > org.eclipse.m2e:lifecycle-mapping:jar:1.0.0**** > > but I don’t know whether that matters**** > > ** ** > > And of course I have had a look at the SectionManager apidocs but it looks > as if I shouldn’t have to do anything explicit unless I’m trying to do > something clever with incremental compilation – or have I missed something > there?**** > > ** ** > > I know it is a bit annoying to manually have to generate all this. Since > we now have nightly builds, I think I will just put a "nightly" version of > the website as well - the current one has not been updated for 5 years! :( > Then all the changes that we add would be reflected immediately. This way > all the up-to-date JavaDocs will also be online soon.**** > > I think that would be *really* helpful – great!**** > > ** ** > > Many thanks**** > > ** ** > > Anthony**** > > ** ** > > Let me know if there are any problems with the JavaDocs.**** > > ** ** > > Best regards,**** > > Andrius**** > > ** ** > > On Mon, Apr 8, 2013 at 3:31 PM, Anthony Hall <an...@an...> > wrote:**** > > Part of Z Word tools is the cztinterface program which is built from the > CZT snapshot. I last built it from CZT SVN Version 8214**** > > **** > > Now I’ve downloaded and built the latest CZT version from Git and I can no > longer build cztinterface. I get an error “No suitable constructor found > for SectionManager()” at a line that says **** > > SectionManager manager = new SectionManager();**** > > **** > > I seem to remember that the SectionManager was changed some time ago. Is > there an up to date javadocs site that I can look at to see the > documentation of the classes in the current version?**** > > **** > > Thanks**** > > **** > > Anthony**** > > ** ** > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > CZT-Devel mailing list > CZT...@li... > https://lists.sourceforge.net/lists/listinfo/czt-devel > > |
From: Anthony H. <an...@an...> - 2013-04-08 16:31:16
|
------------------------------------------------------------------------------- Test set: net.sourceforge.zwordtools.cztinterface.CZTCheckTest ------------------------------------------------------------------------------- Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.732 sec <<< FAILURE! testDBUNoErrors1(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.536 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUNoErrors1.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUNoErrors1.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testDBUNoErrors1(CZTCheckTest.java:43) testUBDNoFlag(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.009 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\UBDNoErrors.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\UBDNoErrors.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testUBDNoFlag(CZTCheckTest.java:46) testRecursiveNoFlag(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.038 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\Recursive.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\Recursive.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testRecursiveNoFlag(CZTCheckTest.java:52) testDBUNoErrors(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.035 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUNoErrors.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUNoErrors.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testDBUNoErrors(CZTCheckTest.java:40) testRecursiveFlag(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.001 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\Recursive.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\Recursive.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testRecursiveFlag(CZTCheckTest.java:55) testMissingSectionInCurrent(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.025 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUWithoutStack.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUWithoutStack.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testMissingSectionInCurrent(CZTCheckTest.java:58) testMissingSectionNoPath(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.024 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUWithoutStack1.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUWithoutStack1.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testMissingSectionNoPath(CZTCheckTest.java:61) testMissingSectionWithPath(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.019 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUWithoutStack1.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\DBUWithoutStack1.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testMissingSectionWithPath(CZTCheckTest.java:67) testUBDFlag(net.sourceforge.zwordtools.cztinterface.CZTCheckTest) Time elapsed: 0.018 sec <<< ERROR! net.sourceforge.czt.session.SectionInfoException: There is an ongoing transaction for the given key Key............: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\UBDNoErrors.tex,ParseException) Transactions...: (D:\anthony\documents\fm\z\word\SVN\Current\cztinterface\target\test-classes\UBDNoErrors.tex,ParseException) at net.sourceforge.czt.session.SectionManager.assertNewTransaction(SectionManager.java:808) at net.sourceforge.czt.session.SectionManager.startTransaction(SectionManager.java:1014) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:978) at net.sourceforge.czt.session.SectionManager.put(SectionManager.java:966) at net.sourceforge.czt.parser.util.ParseExceptionCommand.compute(ParseExceptionCommand.java:36) at net.sourceforge.czt.session.SectionManager.get(SectionManager.java:1710) at net.sourceforge.czt.parser.z.Parser.<init>(Parser.java:2545) at net.sourceforge.czt.parser.z.LatexParser.<init>(LatexParser.java:55) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:60) at net.sourceforge.czt.parser.z.ParseUtils.parse(ParseUtils.java:100) at net.sourceforge.zwordtools.cztinterface.CZTCheck.main(CZTCheck.java:100) at net.sourceforge.zwordtools.cztinterface.CZTTestUtils.runTest(CZTTestUtils.java:82) at net.sourceforge.zwordtools.cztinterface.CZTCheckTest.testUBDFlag(CZTCheckTest.java:49) |
From: Andrius V. <and...@ne...> - 2013-04-08 14:47:18
|
Dear Anthony, The SectionManager did change - mostly internally (we added a support for "transactions" as a step towards better incremental-checking of Z sections - so that you could re-check only downstream dependencies without throwing away all upstream ones). Note, however, that this change enforces a bit stricter way of how it should be called - so let us assist if you encounter problems regarding to it. The change in SectionManager interface you encountered is that it now explicitly requires to provide a dialect to use (see net.sourceforge.czt.session.Dialect enum for appropriate values). So in your case it would be `new SectionManager(Dialect.Z)` for Z checking. You can generate the JavaDocs yourself by running `mvn javadoc:javadoc` for some module. They will be put into `target/site/apidocs` of the project (I think). I know it is a bit annoying to manually have to generate all this. Since we now have nightly builds, I think I will just put a "nightly" version of the website as well - the current one has not been updated for 5 years! :( Then all the changes that we add would be reflected immediately. This way all the up-to-date JavaDocs will also be online soon. Let me know if there are any problems with the JavaDocs. Best regards, Andrius On Mon, Apr 8, 2013 at 3:31 PM, Anthony Hall <an...@an...>wrote: > Part of Z Word tools is the cztinterface program which is built from > the CZT snapshot. I last built it from CZT SVN Version 8214**** > > ** ** > > Now I’ve downloaded and built the latest CZT version from Git and I can no > longer build cztinterface. I get an error “No suitable constructor found > for SectionManager()” at a line that says **** > > SectionManager manager = new SectionManager();**** > > ** ** > > I seem to remember that the SectionManager was changed some time ago. Is > there an up to date javadocs site that I can look at to see the > documentation of the classes in the current version?**** > > ** ** > > Thanks**** > > ** ** > > Anthony**** > |
From: Anthony H. <an...@an...> - 2013-04-08 14:31:51
|
Part of Z Word tools is the cztinterface program which is built from the CZT snapshot. I last built it from CZT SVN Version 8214 Now I’ve downloaded and built the latest CZT version from Git and I can no longer build cztinterface. I get an error “No suitable constructor found for SectionManager()” at a line that says SectionManager manager = new SectionManager(); I seem to remember that the SectionManager was changed some time ago. Is there an up to date javadocs site that I can look at to see the documentation of the classes in the current version? Thanks Anthony |
From: Anthony H. <an...@an...> - 2013-04-03 13:30:27
|
Thanks yet again Andrius! Well I’d expected something like that, but I can’t see any such option in the dropdown: it just seems to have docking options. I see - I checked the source code - apparently it reacts to 'mode' change in jEdit. Use the dropdown in top-right corner to change modes, then the charmap should change accordingly.. Yes, that seems to work (I couldn’t find the “dropdown in top right hand corner” but changing mode via the menu worked fine. Just another documentation item I guess J, Interesting point about extensions. What you encountered is what was supposed have happened. At the moment CZT Eclipse works with `zed`, `zed8` and `zed16` extensions - the Z Editor is opened by default for them. The dialect is selected in Preferences and has not been linked to the file extension, i.e. you select a dialect for all files, and the extension governs whether it is LaTeX or one of Unicode representations. Since it does not know about `oz8` extension, it will open it with text editor. You can try forcing Z Editor by right-clicking and selecting Open With > Z Editor. I tried “open with CZT editor” and got an exception. I then tried just opening and got a similar result. Not sure what’s happened there. I’ll include the error report at the end of the mail. We have discussed using dialect-specific extensions some time ago with Leo. Are there official ones, e.g. `oz` for Object-Z, etc, or at least some accepted practice? You’re asking me? J. But I believe there are – eg the settings that one is supposed to give for jEdit include oz{8.16} I think. We have not tested much on Windows recently, so maybe it is worth checking it out. :) It’s a pain, isn’t it? I don’t know what it is that’s window –specific about this though I do note there was some discussion on the mailing list about windows not deleting files. I don’t know whether that is related to these errors or not. I have committed several changes today - with the today's version of CZT Eclipse IDE you no longer need to install CZT font, it is loaded automatically. This has not been done for jEdit though yet. OK, that’s great. I’m happy now Mark has reassured me that it won’t destroy my system J. You are right, the plugins needed to be built as well. I have got around to finishing the `nightly` builds as well - if you go to the CZT SourceForge files system, each of possible download options now has a /nightly directory where you can download the latest version! We have a build server running here in Newcastle and the nightly results will be published to SourceForge now. http://sourceforge.net/projects/czt/files/ Great! That’s going to be useful I’m sure. It is dead (as in not being developed anymore), though many institutions still have copies of it and it works quite well with this new GUI :) We had a buch of proofs in Z/EVES that we needed to work with so added the integration. Now here's to hoping that Z/EVES would be open-sourced some day.. but it is not clear whether that will happen. Thanks – that confirms what I thought. I fear the open source will never happen – it’s been proposed for several years, so if it hasn’t happened yet I can’t see it happening now, sadly The core developers are still around so I think help would come if needed :) Thanks, yes. I really need to get my mind back into this. Once again, many thanks for your help. I think the improvements you are making are looking very good. All the best Anthony The error I got on opening t.oz8: java.lang.NullPointerException at org.eclipse.jface.text.source.MatchingCharacterPainter.paint(MatchingCharacterPainter.java:373) at org.eclipse.jface.text.PaintManager.addPainter(PaintManager.java:201) at org.eclipse.jface.text.TextViewer.addPainter(TextViewer.java:5278) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.showMatchingCharacters(SourceViewerDecorationSupport.java:702) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateTextDecorations(SourceViewerDecorationSupport.java:303) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.install(SourceViewerDecorationSupport.java:289) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:449) at net.sourceforge.czt.eclipse.ui.internal.editors.zeditor.ZEditor.createPartControl(ZEditor.java:586) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:129) at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:95) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:300) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:859) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:839) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:319) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:240) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:896) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:630) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682) at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1114) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38) at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135) at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374) at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:418) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:385) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:579) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:315) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:985) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3079) at org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:3003) at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2985) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2981) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2940) at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338) at org.eclipse.ui.actions.OpenWithMenu$3.handleEvent(OpenWithMenu.java:216) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) |
From: Andrius V. <and...@ne...> - 2013-04-03 12:43:09
|
Dear Anthony, Well I’d expected something like that, but I can’t see any such option in > the dropdown: it just seems to have docking options. > I see - I checked the source code - apparently it reacts to 'mode' change in jEdit. Use the dropdown in top-right corner to change modes, then the charmap should change accordingly.. Well as I said I’ve never used Eclipse at all, so I’m fumbling here – I > must say it does look very nice though and indeed I can get an Object Z > character map. The only thing I couldn’t see how to do was to get an > Object-Z specification created. It has an option to create a new Z > specification, but even though I’d set the compile to oz, it created a file > with a zed8 extension rather than an oz8 extension. I tried Create file > instead and gave the extension as oz8, but that just seemed to create an > ordinary text file. I’m sure I’m doing something silly, though – as I say > this is my first ever experience of Eclipse! > Interesting point about extensions. What you encountered is what was supposed have happened. At the moment CZT Eclipse works with `zed`, `zed8` and `zed16` extensions - the Z Editor is opened by default for them. The dialect is selected in Preferences and has not been linked to the file extension, i.e. you select a dialect for all files, and the extension governs whether it is LaTeX or one of Unicode representations. Since it does not know about `oz8` extension, it will open it with text editor. You can try forcing Z Editor by right-clicking and selecting Open With > Z Editor. We have discussed using dialect-specific extensions some time ago with Leo. Are there official ones, e.g. `oz` for Object-Z, etc, or at least some accepted practice? **** > > The errors are unexpected. I know Leo's been doing some changes to VCG so > maybe there are problems, though the last automatic build of `master` did > pass correctly.. Are you getting this error on Windows? We will try to > investigate.**** > > Yes they are on Windows (W7 64 bit). > We have not tested much on Windows recently, so maybe it is worth checking it out. :) > **** > > **** > > I am afraid that CZT font still needs to be installed. I know loading the > font automatically should not be hard to add, but at the moment it needs to > be installed.**** > > The need to install it wasn’t the problem – my concern was that the font > itself used to be broken in some way that crashed windows pretty severely > and I didn’t want to install it without knowing that had been fixed. (Yes, > I know – who would write an OS that could be crashed by a defective font…? > But it’s true – I managed to pull the same trick with my own font at one > point) > I have committed several changes today - with the today's version of CZT Eclipse IDE you no longer need to install CZT font, it is loaded automatically. This has not been done for jEdit though yet. > I am not sure whether that is necessary. You need to get the czt.jar and > the jEdit plugins - that should be enough?**** > > Yes – but without building where would I get the jEdit plugins? Again I’m > sure the answer is obvious to you but it wasn’t to me – sorry. Anyway, done > it now. > You are right, the plugins needed to be built as well. I have got around to finishing the `nightly` builds as well - if you go to the CZT SourceForge files system, each of possible download options now has a /nightly directory where you can download the latest version! We have a build server running here in Newcastle and the nightly results will be published to SourceForge now. http://sourceforge.net/projects/czt/files/ > Can you tell me a bit more about Z-Eves? I had thought that Z-Eves was > dead: if that’s not true I’d be very interested in finding out more about > it. > It is dead (as in not being developed anymore), though many institutions still have copies of it and it works quite well with this new GUI :) We had a buch of proofs in Z/EVES that we needed to work with so added the integration. Now here's to hoping that Z/EVES would be open-sourced some day.. but it is not clear whether that will happen. > Answers are certainly helpful. I will try to revive the memory consumption > work, though I fear it may be deep inside CZT and beyond my competence. > The core developers are still around so I think help would come if needed :) Thanks, Andrius |
From: Anthony H. <an...@an...> - 2013-04-02 09:10:16
|
OK that's good news (well I suppose not news exactly if it was 2008 J) Thanks Mark for confirming that Anthony From: bm....@gm... [mailto:bm....@gm...] On Behalf Of Mark Utting Sent: 02 April 2013 00:34 To: Anthony Hall Cc: Andrius Velykis; CZT-Devel Subject: Re: [CZT-Devel] Problem installing jEdit plugin Anthony, You wrote: I am afraid that CZT font still needs to be installed. I know loading the font automatically should not be hard to add, but at the moment it needs to be installed. The need to install it wasn't the problem - my concern was that the font itself used to be broken in some way that crashed windows pretty severely and I didn't want to install it without knowing that had been fixed. (Yes, I know - who would write an OS that could be crashed by a defective font.? But it's true - I managed to pull the same trick with my own font at one point) This problem was fixed back in 2008, by using a newer version of fontforge to generate the .ttf file. The SVN log says: Fixed several validation errors, such as paths in wrong direction. Changed u2500 to look like the proper Unicode char, rather than be customized for Z. Added ENDZED. The CZTSans.ttf generated by Fontforge version 20080309 does not seem to crash Microsoft Visual Studio 2005 any more. And I just installed CZT-circus.ttf on my Windows 7 64-bit machine, and there seem to be no problems using that font in Word, and Visual Studio 2010 runs fine too. Cheers Mark |
From: Mark U. <ma...@cs...> - 2013-04-01 23:34:05
|
Anthony, You wrote: > > I am afraid that CZT font still needs to be installed. I know loading the > font automatically should not be hard to add, but at the moment it needs to > be installed.**** > > The need to install it wasn’t the problem – my concern was that the font > itself used to be broken in some way that crashed windows pretty severely > and I didn’t want to install it without knowing that had been fixed. (Yes, > I know – who would write an OS that could be crashed by a defective font…? > But it’s true – I managed to pull the same trick with my own font at one > point)**** > > **** > > ** > This problem was fixed back in 2008, by using a newer version of fontforge to generate the .ttf file. The SVN log says: Fixed several validation errors, such as paths in wrong direction. Changed u2500 to look like the proper Unicode char, rather than be customized for Z. Added ENDZED. The CZTSans.ttf generated by Fontforge version 20080309 does not seem to crash Microsoft Visual Studio 2005 any more. And I just installed CZT-circus.ttf on my Windows 7 64-bit machine, and there seem to be no problems using that font in Word, and Visual Studio 2010 runs fine too. Cheers Mark |
From: Anthony H. <an...@an...> - 2013-04-01 19:51:20
|
Dear Andrius Good to hear about your progress and sorry for a bit of delay with my reply. My answers follow. I really, really don’t think that two replies, one on Easter Sunday and the other on Easter Monday Bank Holiday, count as a delay!! On the contrary, I’m very grateful to you for getting back so quickly. First, my real question: when I did finally get jEdit and zcharmap working, I couldn’t find a way of inserting an object Z Class. Is there any way of doing this – can you edit object Z within CZT? I am not too familiar with jEdit - there should be a drop-down on ZCharMap that allows you to choose a dialect? Then you should get Object-Z charmap that includes Class if I am not mistaken.. Well I’d expected something like that, but I can’t see any such option in the dropdown: it just seems to have docking options. I myself work on CZT-Eclipse integration, so you could try it there. If you use czt-ide standalone that I gave the link to previously: select Object Z dialect in Preferences > CZT > Compiler. Then when you open the Characters view the Object-Z dialect should be selected there as well (or use drop-down). Note that I am typing these names from memory so they may actually be a bit different in the program :) Let me know if you get to Object-Z symbols either in jEdit or Eclipse. Well as I said I’ve never used Eclipse at all, so I’m fumbling here – I must say it does look very nice though and indeed I can get an Object Z character map. The only thing I couldn’t see how to do was to get an Object-Z specification created. It has an option to create a new Z specification, but even though I’d set the compile to oz, it created a file with a zed8 extension rather than an oz8 extension. I tried Create file instead and gave the extension as oz8, but that just seemed to create an ordinary text file. I’m sure I’m doing something silly, though – as I say this is my first ever experience of Eclipse! The /src/site files are destined for the upcoming new CZT website. The website contents are generated automatically from these files. So as soon as we do get around to launching the new website and new release, these instructions should be accessible much easier (and rendered correctly). In the root of repository there is INSTALL.md that points to setup.md - but I do think a website will help with finding things :) OK, well I was just groping around there so not to worry The errors are unexpected. I know Leo's been doing some changes to VCG so maybe there are problems, though the last automatic build of `master` did pass correctly.. Are you getting this error on Windows? We will try to investigate. Yes they are on Windows (W7 64 bit). I am afraid that CZT font still needs to be installed. I know loading the font automatically should not be hard to add, but at the moment it needs to be installed. The need to install it wasn’t the problem – my concern was that the font itself used to be broken in some way that crashed windows pretty severely and I didn’t want to install it without knowing that had been fixed. (Yes, I know – who would write an OS that could be crashed by a defective font…? But it’s true – I managed to pull the same trick with my own font at one point) Good catch on encoding advice. Yea, I guess the instructions should say that. We do lack testing in Windows and UTF8, since Leo and myself are working on Macs and Z-LaTeX mostly :) Furthermore, jEdit plugins have not seen much updates except from the compatibility with jEdit 5. More work has gone towards the Eclipse-based integration from myself, since I am more familiar with developing for Eclipse. So any updates, suggestions and problem reports are most welcome! OK, I’m happy to try to work with the stand alone ide – that seems nice. (Answers to your previous e-mail below) I suppose I had better bite the bullet and get going with git L. I would recommend Git wholeheartedly, especially if there is at least some collaboration going.. Well it seemed to work fine. I was just reluctant to learn yet another tool but that’s old age for you J. It was really more that I couldn’t face all that maven nonsense again – but this build worked much better than previous ones which used to have perplexing maven errors all the time. As I have worked on CZT for Eclipse, I would recommend trying the Eclipse way :) Just don't forget to set Object-Z dialect in Preferences. OK, happy to do that, modulo query about files above. I am not sure whether that is necessary. You need to get the czt.jar and the jEdit plugins - that should be enough? Yes – but without building where would I get the jEdit plugins? Again I’m sure the answer is obvious to you but it wasn’t to me – sorry. Anyway, done it now. Yes, there is a plan. That’s very good news We have quite some new content, just need to finish off some documentation and website updates.. and these take time and willpower :) I do know that! Certainly the main difficulties I’ve had have all been really down to not having enough documentation so I do thoroughly applaud your efforts in that direction. I know from experience how hard it is to write for users totally unfamiliar with a project. I would agree on limited activity in mailing lists. Leo and me are working together at Newcastle University, so we are discussing face-to-face. Otherwise it has been a bit more silent. I can only comment on project activity that I know of. Leo and myself have new content that we have added and would like to release: quite big organisational changes in builds, updates to CZT for Eclipse, verification condition generator, integration with Z/EVES theorem prover, and more changes, cleanup and fixes all over the board. There's also some new work on Circus-Time coming from University of York. So the project is not bustling, but is still going forward :) That’s very good to hear. Can you tell me a bit more about Z-Eves? I had thought that Z-Eves was dead: if that’s not true I’d be very interested in finding out more about it. Thank you for the reports - hope the answers help. And all contributions are welcome of course - whether it is the memory consumption, or other upgrades :) Answers are certainly helpful. I will try to revive the memory consumption work, though I fear it may be deep inside CZT and beyond my competence. Very many thanks for your help Anthony |
From: Andrius V. <and...@ne...> - 2013-04-01 16:58:31
|
Dear Anthony, Good to hear about your progress and sorry for a bit of delay with my reply. My answers follow. First, my real question: when I did finally get jEdit and zcharmap working, > I couldn’t find a way of inserting an object Z Class. Is there any way of > doing this – can you edit object Z within CZT? > I am not too familiar with jEdit - there should be a drop-down on ZCharMap that allows you to choose a dialect? Then you should get Object-Z charmap that includes Class if I am not mistaken.. I myself work on CZT-Eclipse integration, so you could try it there. If you use czt-ide standalone that I gave the link to previously: select Object Z dialect in Preferences > CZT > Compiler. Then when you open the Characters view the Object-Z dialect should be selected there as well (or use drop-down). Note that I am typing these names from memory so they may actually be a bit different in the program :) Let me know if you get to Object-Z symbols either in jEdit or Eclipse. The problems that I encountered on the way were:**** > > ** ** > > 1. I did find it hard to get started. I don’t think there is anywhere on > the website that gives up to date instructions for obtaining and building > from source, is there? Eventually I found dev / src / site / markdown / > guidelines.md but the link in there to setup instructions is broken and > it took a bit of guessing to find setup.md. I know this seems v trivial, > but I must admit I always find it very hard to find out how to do anything > in czt; I guess if you work with it every day this is not a problem, but > it’s obscure for occasional users. > The /src/site files are destined for the upcoming new CZT website. The website contents are generated automatically from these files. So as soon as we do get around to launching the new website and new release, these instructions should be accessible much easier (and rendered correctly). In the root of repository there is INSTALL.md that points to setup.md - but I do think a website will help with finding things :) > 2. I cloned the repository ok and tried to run buildall. However it > persistently gave me test errors in vcg. I built in the end by skipping > tests, but it does look as if something is wrong. I attach t.log showing > the test errors. > The errors are unexpected. I know Leo's been doing some changes to VCG so maybe there are problems, though the last automatic build of `master` did pass correctly.. Are you getting this error on Windows? We will try to investigate. > **** > > 3. I could then run the zcharmap plugin from jEdit. However, not all the > characters showed up properly. I didn’t install the czt font because I was > reminded that this had errors in it which stopped various .net programs > working – are those errors still there? > I am afraid that CZT font still needs to be installed. I know loading the font automatically should not be hard to add, but at the moment it needs to be installed. > 4 However on Windows Cambria Math does have all the characters and using > that seemed to work OK, until after a time (I guess it was trying to > autosave) I got a message saying that it could save a character in encoding > CP1252. So I guess the instructions should say to change the default > encoding to UTF8? > Good catch on encoding advice. Yea, I guess the instructions should say that. We do lack testing in Windows and UTF8, since Leo and myself are working on Macs and Z-LaTeX mostly :) Furthermore, jEdit plugins have not seen much updates except from the compatibility with jEdit 5. More work has gone towards the Eclipse-based integration from myself, since I am more familiar with developing for Eclipse. So any updates, suggestions and problem reports are most welcome! (Answers to your previous e-mail below) > I suppose I had better bite the bullet and get going with git L. > I would recommend Git wholeheartedly, especially if there is at least some collaboration going.. > To be honest I don’t know. I’ve never used either Eclipse or jEdit > (because of course I use my own Z Word Tools as an editor). The reason I > was looking at it is that I may have to do some work with Object-Z and I > wanted to see what support CZT had for editing Object-Z. What do you think > is the easiest way to do that? > As I have worked on CZT for Eclipse, I would recommend trying the Eclipse way :) Just don't forget to set Object-Z dialect in Preferences. > That would be useful – though looking at the instructions it seemed I had > to do a local build as a prerequisite for installing the jEdit plugins? > I am not sure whether that is necessary. You need to get the czt.jar and the jEdit plugins - that should be enough? > On the subject of builds, I note that there hasn’t been a release of CZT > for ages – are there plans for a release? > Yes, there is a plan. We have quite some new content, just need to finish off some documentation and website updates.. and these take time and willpower :) > I’m also feeling guilty because I have on my to-do list to look at the > memory consumption problem. One reason I haven’t done really been motivated > to do this is because I haven’t seen much activity on the mailing lists. > But perhaps that’s deceptive. How active is the project nowadays? > I would agree on limited activity in mailing lists. Leo and me are working together at Newcastle University, so we are discussing face-to-face. Otherwise it has been a bit more silent. I can only comment on project activity that I know of. Leo and myself have new content that we have added and would like to release: quite big organisational changes in builds, updates to CZT for Eclipse, verification condition generator, integration with Z/EVES theorem prover, and more changes, cleanup and fixes all over the board. There's also some new work on Circus-Time coming from University of York. So the project is not bustling, but is still going forward :) > Thanks very much > Thank you for the reports - hope the answers help. And all contributions are welcome of course - whether it is the memory consumption, or other upgrades :) Anthony**** > > *From:* Andrius Velykis [mailto:and...@ne...] > *Sent:* 31 March 2013 17:09 > *To:* Anthony Hall > *Cc:* CZT-Devel > *Subject:* Re: [CZT-Devel] Problem installing jEdit plugin**** > > ** ** > > Hi Anthony,**** > > ** ** > > That is correct - the error you are seeing is due to incompatibilities > with jEdit 5. The latest sources in CZT Git repository do have this fixed > and should be working with jEdit 5.**** > > ** ** > > Is there are reason you need the jEdit plugin in particular? There's also > an Eclipse-based CZT IDE available - a "preview" snapshot of the latest > version is available in > http://sourceforge.net/projects/czt/files/czt-ide/2.0-pre1/ . That is for > Eclipse-based IDE though, I did not add the czt.jar and jEdit plugins there > yet. The Eclipse-based IDE has actually more features and polish than the > jEdit plugins..**** > > ** ** > > I am planning to add "nightly" builds to CZT downloads section in the next > weeks so there would be easier downloads for people who do not want to > build from scratch.**** > > ** ** > > Let us know what are your preferences.**** > > ** ** > > Andrius Velykis**** > > Newcastle University**** > > ** ** > > On Sun, Mar 31, 2013 at 4:31 PM, Anthony Hall <an...@an...> > wrote:**** > > I've got a (perhaps out of date) Subversion Revision 8214 of CZT and I'm > trying to get the jEdit plugins working. When I try to start the Zcharmap > plugin I get this message: > > A BeanShell error occurred. > java.lang.NoSuchMethodError: > org.gjt.sp.jedit.textarea.TextAreaPainter.isAntiAliasEnabled()Z > at ZCharMap.<init>(ZCharMap.java:93) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces > sorImpl.java:57) > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc > torAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620) > at > > org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationEx > pression.java:123) > at > > org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationE > xpression.java:114) > at > > org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.ja > va:62) > at > > org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102 > ) > at > > org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) > at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) > at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) > at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) > at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) > at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) > at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369) > at > > org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(Docka > bleWindowFactory.java:467) > at > > org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWi > ndowManagerImpl.java:354) > at > > org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(Dockable > WindowFactory.java:498) > at > org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342) > at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3342) > at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3324) > at > org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) > at > > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) > at > > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4 > 02) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at javax.swing.AbstractButton.doClick(AbstractButton.java:376) > at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) > at > > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI > .java:877) > at > java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) > at java.awt.Component.processMouseEvent(Component.java:6505) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) > at java.awt.Component.processEvent(Component.java:6270) > at java.awt.Container.processEvent(Container.java:2229) > at java.awt.Component.dispatchEventImpl(Component.java:4861) > at java.awt.Container.dispatchEventImpl(Container.java:2287) > at java.awt.Component.dispatchEvent(Component.java:4687) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) > at > java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) > at java.awt.Container.dispatchEventImpl(Container.java:2273) > at java.awt.Window.dispatchEventImpl(Window.java:2713) > at java.awt.Component.dispatchEvent(Component.java:4687) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) > at java.awt.EventQueue.access$000(EventQueue.java:101) > at java.awt.EventQueue$3.run(EventQueue.java:666) > at java.awt.EventQueue$3.run(EventQueue.java:664) > at java.security.AccessController.doPrivileged(Native Method) > at > > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja > va:76) > at > > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja > va:87) > at java.awt.EventQueue$4.run(EventQueue.java:680) > at java.awt.EventQueue$4.run(EventQueue.java:678) > at java.security.AccessController.doPrivileged(Native Method) > at > > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja > va:76) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) > at > > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java > :211) > at > > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:12 > 8) > at > > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java > :117) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > I realise that perhaps I need to update to the latest sources but as I > haven't got git installed and this is likely to involve heavy work with > Maven, I wondered if anyone could advise whether this is in fact the > problem > or whether there is something different going wrong? > > Thanks > > Anthony > > > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > CZT-Devel mailing list > CZT...@li... > https://lists.sourceforge.net/lists/listinfo/czt-devel**** > > ** ** > |
From: Anthony H. <an...@an...> - 2013-03-31 17:06:16
|
Dear Andrius Thanks very much for your instant response. I suppose I had better bite the bullet and get going with git L. That is correct - the error you are seeing is due to incompatibilities with jEdit 5. The latest sources in CZT Git repository do have this fixed and should be working with jEdit 5. Is there are reason you need the jEdit plugin in particular? There's also an Eclipse-based CZT IDE available - a "preview" snapshot of the latest version is available in http://sourceforge.net/projects/czt/files/czt-ide/2.0-pre1/ . That is for Eclipse-based IDE though, I did not add the czt.jar and jEdit plugins there yet. The Eclipse-based IDE has actually more features and polish than the jEdit plugins.. To be honest I don’t know. I’ve never used either Eclipse or jEdit (because of course I use my own Z Word Tools as an editor). The reason I was looking at it is that I may have to do some work with Object-Z and I wanted to see what support CZT had for editing Object-Z. What do you think is the easiest way to do that? I am planning to add "nightly" builds to CZT downloads section in the next weeks so there would be easier downloads for people who do not want to build from scratch. That would be useful – though looking at the instructions it seemed I had to do a local build as a prerequisite for installing the jEdit plugins? On the subject of builds, I note that there hasn’t been a release of CZT for ages – are there plans for a release? I’m also feeling guilty because I have on my to-do list to look at the memory consumption problem. One reason I haven’t done really been motivated to do this is because I haven’t seen much activity on the mailing lists. But perhaps that’s deceptive. How active is the project nowadays? Let us know what are your preferences. I’d really welcome your advice – I’m not at all experienced in this area. Many thanks Anthony Andrius Velykis Newcastle University On Sun, Mar 31, 2013 at 4:31 PM, Anthony Hall <an...@an...> wrote: I've got a (perhaps out of date) Subversion Revision 8214 of CZT and I'm trying to get the jEdit plugins working. When I try to start the Zcharmap plugin I get this message: A BeanShell error occurred. java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.TextAreaPainter.isAntiAliasEnabled()Z at ZCharMap.<init>(ZCharMap.java:93) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationEx pression.java:123) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationE xpression.java:114) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.ja va:62) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102 ) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(Docka bleWindowFactory.java:467) at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWi ndowManagerImpl.java:354) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(Dockable WindowFactory.java:498) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3324) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4 02) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI .java:877) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java :211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:12 8) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) I realise that perhaps I need to update to the latest sources but as I haven't got git installed and this is likely to involve heavy work with Maven, I wondered if anyone could advise whether this is in fact the problem or whether there is something different going wrong? Thanks Anthony ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ CZT-Devel mailing list CZT...@li... https://lists.sourceforge.net/lists/listinfo/czt-devel |
From: Andrius V. <and...@ne...> - 2013-03-31 16:40:39
|
Hi Anthony, That is correct - the error you are seeing is due to incompatibilities with jEdit 5. The latest sources in CZT Git repository do have this fixed and should be working with jEdit 5. Is there are reason you need the jEdit plugin in particular? There's also an Eclipse-based CZT IDE available - a "preview" snapshot of the latest version is available in http://sourceforge.net/projects/czt/files/czt-ide/2.0-pre1/ . That is for Eclipse-based IDE though, I did not add the czt.jar and jEdit plugins there yet. The Eclipse-based IDE has actually more features and polish than the jEdit plugins.. I am planning to add "nightly" builds to CZT downloads section in the next weeks so there would be easier downloads for people who do not want to build from scratch. Let us know what are your preferences. Andrius Velykis Newcastle University On Sun, Mar 31, 2013 at 4:31 PM, Anthony Hall <an...@an...>wrote: > I've got a (perhaps out of date) Subversion Revision 8214 of CZT and I'm > trying to get the jEdit plugins working. When I try to start the Zcharmap > plugin I get this message: > > A BeanShell error occurred. > java.lang.NoSuchMethodError: > org.gjt.sp.jedit.textarea.TextAreaPainter.isAntiAliasEnabled()Z > at ZCharMap.<init>(ZCharMap.java:93) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces > sorImpl.java:57) > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc > torAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:525) > at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620) > at > > org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationEx > pression.java:123) > at > > org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationE > xpression.java:114) > at > > org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.ja > va:62) > at > > org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102 > ) > at > > org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) > at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) > at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) > at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) > at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) > at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) > at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369) > at > > org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(Docka > bleWindowFactory.java:467) > at > > org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWi > ndowManagerImpl.java:354) > at > > org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(Dockable > WindowFactory.java:498) > at > org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342) > at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3342) > at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3324) > at > org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) > at > > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) > at > > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4 > 02) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at javax.swing.AbstractButton.doClick(AbstractButton.java:376) > at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) > at > > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI > .java:877) > at > java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) > at java.awt.Component.processMouseEvent(Component.java:6505) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) > at java.awt.Component.processEvent(Component.java:6270) > at java.awt.Container.processEvent(Container.java:2229) > at java.awt.Component.dispatchEventImpl(Component.java:4861) > at java.awt.Container.dispatchEventImpl(Container.java:2287) > at java.awt.Component.dispatchEvent(Component.java:4687) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) > at > java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) > at java.awt.Container.dispatchEventImpl(Container.java:2273) > at java.awt.Window.dispatchEventImpl(Window.java:2713) > at java.awt.Component.dispatchEvent(Component.java:4687) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) > at java.awt.EventQueue.access$000(EventQueue.java:101) > at java.awt.EventQueue$3.run(EventQueue.java:666) > at java.awt.EventQueue$3.run(EventQueue.java:664) > at java.security.AccessController.doPrivileged(Native Method) > at > > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja > va:76) > at > > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja > va:87) > at java.awt.EventQueue$4.run(EventQueue.java:680) > at java.awt.EventQueue$4.run(EventQueue.java:678) > at java.security.AccessController.doPrivileged(Native Method) > at > > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja > va:76) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) > at > > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java > :211) > at > > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:12 > 8) > at > > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java > :117) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > I realise that perhaps I need to update to the latest sources but as I > haven't got git installed and this is likely to involve heavy work with > Maven, I wondered if anyone could advise whether this is in fact the > problem > or whether there is something different going wrong? > > Thanks > > Anthony > > > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > CZT-Devel mailing list > CZT...@li... > https://lists.sourceforge.net/lists/listinfo/czt-devel > |
From: Anthony H. <an...@an...> - 2013-03-31 15:44:45
|
I've got a (perhaps out of date) Subversion Revision 8214 of CZT and I'm trying to get the jEdit plugins working. When I try to start the Zcharmap plugin I get this message: A BeanShell error occurred. java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.TextAreaPainter.isAntiAliasEnabled()Z at ZCharMap.<init>(ZCharMap.java:93) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationEx pression.java:123) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationE xpression.java:114) at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.ja va:62) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102 ) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(Docka bleWindowFactory.java:467) at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWi ndowManagerImpl.java:354) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(Dockable WindowFactory.java:498) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3324) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4 02) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI .java:877) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.ja va:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java :211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:12 8) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) I realise that perhaps I need to update to the latest sources but as I haven't got git installed and this is likely to involve heavy work with Maven, I wondered if anyone could advise whether this is in fact the problem or whether there is something different going wrong? Thanks Anthony |
From: Leo F. <leo...@ne...> - 2012-09-04 08:03:43
|
Cristian, If you use LaTeX markup within any CZT environment (i.e. your own editors using the command line; jEdit; Z-Eclipse, etc) you can produce PDF. That is, the LaTeX processing part is completely separate and not part of CZT as such, except perhaps for the czt.sty file you can find in the ./dtx folder. There is also the circus.sty. With those two you can LaTeXify any well-typed Z or Circus specification. You are welcome to extend the Z-Eclipse extension to OZ and Circus. It would be great. Let me know how could I help. ---- on LaTeXing OZ For Object-Z, there are some warnings. The oz.sty might clash with czt.sty. In fact, there is a need for a new czt-oz.sty package !!! Reason being that historically oz.sty (as well as the old czt.sty) come from an extension of the old Oxford zed.sty as well as extension created for the Z Standard. Trouble is that zed.sty used LaTeX 2e, whereas the newer versions used newer versions of LaTeX. Together with other font oddities, there were some serious compability issues when your LaTeX document required dependencies from newer LaTeX packages. czt.sty has a two-layer setup: first layer attaches the low-level font symbol to a command that can't appear in the user file (i.e. \zsym@fun). Then, depending on the setup chosen (i.e. A4/Letter, color or not, Lucida font or AMS, etc), the various \zsym@XXXX get attached to the appropriate \XXXX symbol. This also leaves room for appropriate LaTeX typesetting of minor spacing details like in binary operators. There are some examples of these low-level LaTeX details in the czt-guide.pdf as well as circus-guide.pdf. Best, Leo On 4 Sep 2012, at 04:22, Cristian Vidal Silva wrote: On 9/3/2012 2:17 AM, Leo Freitas wrote: Cristian, CZT works on both Windows / Linux / Mac OS. We are currently working on setting up weekly/monthly builds automatically, so that people can directly download the compiled JAR(s). For now, to install, you need to build from sources, which you can get the overall set up explained here http://sourceforge.net/scm/?type=git&group_id=86250 Best, Leo On 2 Sep 2012, at 23:33, Cristian Vidal Silva wrote: > On 9/2/2012 5:52 AM, Leo Freitas wrote: >> Hi, >> >> There is no Object-z support for Eclipse. But you can use it with jEdit. >> LaTeX markup is just like in Z but with the OZ extensions, and similarly for UTF. >> The extra rules for OZ are in Graeme Smith's book, I think. Apart from that, another >> good source could be the typechekcer / parser test cases. >> >> Z LaTeX and Unicode typesetting can be tricky, but all the rules are in the ISO standard. >> Again, there are many examples in the test cases for various tools. >> >> Best, >> Leo >> >> On 2 Sep 2012, at 05:40, Cristian Vidal Silva wrote: >> >>> Hi there. >>> >>> I want to write an Object-Z specification using CZT and Eclipse. >>> However, I don't know the rules for doing it using Latex or UTF8 or >>> UTF16. How Can I get a Manual about it? >>> >>> Greetings. >>> >>> -- >>> Cristian Vidal Silva >>> >>> Computer Engineer >>> Master in Computer Science >>> Ph.D. Student of Michigan State University >>> Chilean Fulbright Scholar >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> CZT-Devel mailing list >>> CZT...@li...<mailto:CZT...@li...> >>> https://lists.sourceforge.net/lists/listinfo/czt-devel > Thanks Leo. > > Do you have a manual to install CZT on jedit in Windows? I know that it functions in Linux, but I'm not an expert there.... If it didn't function in Windows, do you have a detailed manual about installing CZT in Linux? > > Thanks for your assistance. > > Sincerely, > > Cristian. > > -- > Cristian Vidal Silva > > Computer Engineer > Master in Computer Science > Ph.D. Student of Michigan State University > Chilean Fulbright Scholar > Thanks very much Leo... I installed everything and I found the examples as well... This is great... I have additional questions: i) Can I produce a PDF file using my Z, Object-Z, or Circus files with their known syntax? ii) Can I integrate CZT with a Latex tool like Texworks or TexStudio? Thanks for your assistance... Even though I knew Z years ago, I haven't used CZT tool so far... Considering I'm a good Java Eclipse programmer, I'm interested in adding support for Object-Z and AspectZ as well... However, we can talk about that later... Now, I need to be more familiar with CZT tool first. Greetings, and I wait for your comments. Sincerely, Cristian. -- Cristian Vidal Silva Computer Engineer Master in Computer Science Ph.D. Student of Michigan State University Chilean Fulbright Scholar |
From: Cristian V. S. <vid...@ms...> - 2012-09-02 01:40:32
|
Hi there. I want to write an Object-Z specification using CZT and Eclipse. However, I don't know the rules for doing it using Latex or UTF8 or UTF16. How Can I get a Manual about it? Greetings. -- Cristian Vidal Silva Computer Engineer Master in Computer Science Ph.D. Student of Michigan State University Chilean Fulbright Scholar |
From: Leo F. <leo...@ne...> - 2012-08-24 07:14:23
|
Hi Cristian, Tim is right, there is work on model checking for Circus on my PhD. But not the differences here. First, what do you mean by model checking? If the traditional (SPIN, SMV, etc) temporal logic one, what does this has to do with Z (or how are you linking it with Z)? If you mean refinement model checking (FDR), there is work on Circus for that which involves Z + CSP. I have a paper on a survey of refinement model checking and its use, if that's could be helpful. Also, model checking requires a finite domain (for search), and Z models could be made finite, but aren't usually. The pointer below to Z to SAL is good, and there is also the work of Alexandre Motta, in Brazil, who worked on using FDR to model check a CSP-Z model (something like a precursor to Circus). PS: Thank you for using the list :-) Best, Leo On 24 Aug 2012, at 00:43, Tim Miller wrote: > Hi Cristian, > > Leo Freitas did some work on model checking Circus (an extension of Z). > He would be the person to talk to about this (if he has not already > replied to you). > > A group at the University of Sheffield also did some work on translating > Z to SAL for model checking: > http://staffwww.dcs.shef.ac.uk/people/A.Simons/z2sal/ > > Regards, > Tim > > On 22/08/12 05:09, Cristian Vidal Silva wrote: >> Dear. >> >> I need to know if Model Checking is possible using CZT? If so, where can >> I find related information about that? If not, I'd like to be a member >> of the team for doing a program for Model Checking... >> >> I wait for your comments. >> >> Sincerely, >> >> Cristian. >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > CZT-Devel mailing list > CZT...@li... > https://lists.sourceforge.net/lists/listinfo/czt-devel |
From: Tim M. <tm...@un...> - 2012-08-23 23:48:09
|
Hi Cristian, Leo Freitas did some work on model checking Circus (an extension of Z). He would be the person to talk to about this (if he has not already replied to you). A group at the University of Sheffield also did some work on translating Z to SAL for model checking: http://staffwww.dcs.shef.ac.uk/people/A.Simons/z2sal/ Regards, Tim On 22/08/12 05:09, Cristian Vidal Silva wrote: > Dear. > > I need to know if Model Checking is possible using CZT? If so, where can > I find related information about that? If not, I'd like to be a member > of the team for doing a program for Model Checking... > > I wait for your comments. > > Sincerely, > > Cristian. > |
From: Cristian V. S. <vid...@ms...> - 2012-08-21 19:09:37
|
Dear. I need to know if Model Checking is possible using CZT? If so, where can I find related information about that? If not, I'd like to be a member of the team for doing a program for Model Checking... I wait for your comments. Sincerely, Cristian. -- Cristian Vidal Silva Computer Engineer Master in Computer Science Ph.D. Student of Michigan State University Chilean Fulbright Scholar |
From: Leo F. <leo...@ne...> - 2012-07-30 10:44:25
|
Hi guys, I once had similar problems under windows. And it turned out to be something unrelated to CZT, yet just like what you are describing. It had to do with some processes (in my case WinEdt or IE) locking up whole sets of files, and making the build cycle go funny. To fix it, I downloaded some file / process monitoring software from SysInternal (I think now owned by microsoft), and saw what was going on. For some weird reason within Windows, other processes got hold of permissions to my CZT files (i.e. I opened some XML files in WinEdt that were into the CZT path; or similarly with IE). http://technet.microsoft.com/en-us/sysinternals/bb842062 Bottom line: get one of these file handle monitors and see who is the culprit of hindering you from deleting the files.... With that we can assess what to do next. Best, Leo On 29 Jul 2012, at 22:02, Jon Lockhart wrote: Andrius, I checked my permissions and I have been trying to work with the file, and I have no permissions on the file set that would prevent me from deleting it while the code is compiled. I am the admin on my machine and have also tried running the compilation in admin mode, to no success. It is also in a folder that allows for complete modification and removal of files. Is there any possibility that you may have some permissions set on the file when you were working on the repository? Thanks, Jon Lockhart On Mon, Jul 23, 2012 at 2:00 PM, Andrius Velykis <an...@ve...<mailto:an...@ve...>> wrote: Dear Jon, It says it cannot delete the following test file: C:\Users\Jon\MyCZT\czt\vcg\target\test-classes\tests\z\zstateref_ref.tex Do you have it open in some editor? Or does it have some bad permissions? Best regards, ~Andrius On 23 Jul 2012, at 18:44, Jon Lockhart wrote: > Dear Leo, > > Thanks for the information you provided. After some digging into the install more, I noticed what you mentioned and that the installer is just throwing an exception on these particular sets of tests and is printing them to the terminal. On closer examination the runs do return that all 25 have succeeded successfully. > > As per your question, I am currently exploring the space of tool sets that are available currently for Zed to help me write and prove specifications that I am writing. I am currently developing some and exploring Zed as a possible avenue for my dissertation. > > Dear Andrius, > > I was interested in what Leo said so I ran an install again, and he was right in that the output was just from an exception thrown and not actually causing an error. Since I started running the tests again I have come across the same error ever time in VCG which causes it to fail compiling. It appears to be in the zstarteref tests for VCG which reports that it had 123 runs and 1 failure. > > Attached is the screen shot of the end of the install, along with the surefire reports on this test from VCG. > > Thanks, > Jon Lockhart > > On Mon, Jul 23, 2012 at 4:12 AM, Leo Freitas <leo...@ne...<mailto:leo...@ne...>> wrote: > Hi guys, > > Perhaps I could she some light to this regarding the VCG... > > Within the test files I've added, there are some that are known to fail, yet are not implemented / fixed. > Those appear in (a verbose) output as a reminder of the fact, as well as a warning to what is not implemented. > Many of these cases have to do with weird uses of the schema calculus allowed by the standard. Ex: > > \begin{axdef} > S == [ x: \nat | P(x) ] \\ > \end{axdef} > > (i.e. const declarations as part of an axiomatic box declPart; and other similar cases within other declParts). > I call this "weird" because it does not aggregate much expressiveness value (i.e. you can say the same thing > in other clearer ways) yet make tool building a nightmare! (e.g. see Andrew Martin's paper http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.7231). > > Another category is to do with name collusion, which could happen in practice, although not as often: > > S == [ x: \power(\nat \cross \nat) | P(x) ] > T == [ x: \num \pfun \nat | Q(x) ] > R == [ x: \seq (0 \upto 20) | M(x) ] > Op == S \land T \land R > > In this case, you have "x" with three different declared type, yet they are type-compatible: the function and the > sequence types used are indeed sets of pairs of numbers (i.e. typechecking in Z is maximal, hence the greatest-common-type > is used in order to enable automatic typechecking; otherwise one would have a situation that to typecheck a Z specificaiton you > would need to prove as many theorems as typechecking conditions.). So, in effect, Op equals to: > > Op == [ x: \power(\arithmos \cross \arithmos) | P(x) \land Q(x) \land R(x) \land x \in \power(\nat \cross \nat) \cap (\num \pfun \nat) \cap (\seq (0 \upto 20)) ] > > When creating VCs, the VCG has a (strict) setting of typechecking its generated VCs. Trouble is that in certain scenarios of complicated > uses of the schema calculus not yet implemented by the VCG, the VCs might not typecheck (if the solution is easily enough fixable by a user), > hence the error. The test harness has a series of cases where such unhandled examples exist. > > In any case, there shouldn't be an error in the final Mavan test report, despite the verbose output. From your latest files, it says > > ------------------------------------------------------------------------------- > Test set: net.sourceforge.czt.vcg.util.DefinitionTableTest > ------------------------------------------------------------------------------- > Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 sec > > which tells there were no errors from that run. > > I agree this is not ideal - I will try an fix that by having flags to the build process so that verbosity is hidden from the user. > > For the extra needed implementation features to cover more of the schema calculus, the solution is not straightforward, as ultimately, > one would need full schema normalisation, which is quite tricky to achieve (i.e. see the Rules project for more on this). In practice, > I took a pragmatic approach: I implement the bits that I needed for the examples I handled. Given the driving example(s) already contained > quite complicated Z schema calculus usage (i.e. Mondex smartcards and Tokeneer ID station, etc), I am going to add more as needed. > For instance, another case where the VCG could generate a type-incorrect-due-to-schema-calculus-issues (if the VC one needs) is when > certain uses of generic types appear in the schemas used. > > In any case, thank you very much for your input and for the interest in CZT. > > By the way, could I ask what do you have in mind with using CZT? Would you be interested in implementation of features / ideas? > > Many thanks again, > > Best, > Leo > > On 22 Jul 2012, at 23:01, Jon Lockhart wrote: > >> Dear Andrius, >> >> Just tried installing on my desktop. Everything was running great and a lot faster on my Win 7 box, but I hit another error while installing, this time on VCG. It says that there was an exception thrown when running the one of the test that has tables in it. >> >> As always I have included the Surefire reports for you to look at. >> >> Thanks, >> Jon >> >> >> On Fri, Jul 20, 2012 at 1:39 PM, Andrius Velykis <an...@ve...<mailto:an...@ve...>> wrote: >> Dear Jon, >> >> It is possible that you just physically run out - the settings -Xmx1024m say that you allocate Maven 1 gig of RAM (1024 megabytes). Please try it on your desktop - hope the error goes away. >> >> Best regards, >> ~Andrius >> >> >> >> On 20 Jul 2012, at 17:17, Jon Lockhart wrote: >> >> > Dear Andrius, >> > >> > I realize I only have a gig of ram on this really old laptop I am using for developments and things of that nature. Its convenient for taking to the lab and back, but I realize now it may not be enough and I may have to switch to my desktop if that is the case. >> > >> > When the build quits on the error saying Java has run out of space, it says that it is the Java Heap, not PermGen or anything else that is out of space. >> > >> > Thanks, >> > Jon Lockhart >> > >> > On Fri, Jul 20, 2012 at 2:31 AM, Andrius Velykis <an...@ve...<mailto:an...@ve...>> wrote: >> > Dear Jon, >> > >> > Good to hear about the fixes. >> > >> > Interesting out of memory issues - I am pretty sure 1024 and 512 are >> > enough. Could you show the exact error message? Is it Heap Space or >> > PermGen or other? >> > >> > How much actual memory do you have on your machine? >> > >> > Best regards, >> > ~Andrius >> > >> > On Fri, Jul 20, 2012 at 2:41 AM, Jon Lockhart <ja...@bu...<mailto:ja...@bu...>> wrote: >> > > Dear Andrius, >> > > >> > > Those fixes have seemed to help just fine, and I get well beyond them now >> > > when installing. >> > > >> > > Now I get an issue when installing the JFlex package. It says I am out of >> > > memory and I need to increase the heap size. I had my variables set for >> > > Maven to 1024 and 512, just like the INSTALL.md said to do and then I bumped >> > > them up to 2048 and 1024 respectively, and that also did not seem to help. >> > > >> > > Any suggestions on this error? I don't think I want to increase the Java >> > > space too much more. >> > > >> > > Thanks, >> > > Jon Lockhart >> > > >> > > >> > > On Thu, Jul 19, 2012 at 4:18 PM, Andrius Velykis <an...@ve...<mailto:an...@ve...>> wrote: >> > >> >> > >> Dear Jon Lochart, >> > >> >> > >> I guess we have to congratulate you again - you found another bug >> > >> (filed as #3546060: >> > >> >> > >> https://sourceforge.net/tracker/index.php?func=detail&aid=3546060&group_id=86250&atid=578942). >> > >> >> > >> What is _extremely_ suprising that you are the first one to have >> > >> stumbled on it. The issue is that there were problems with handling >> > >> paths that have spaces in them (e.g. your "Documents and Settings"). >> > >> The exceptions appear every time you put the CZT repository on a path >> > >> with spaces. Surprisingly, no-one has ever done it! :) >> > >> >> > >> So thanks for the report - I have fixed it in the Git repository. >> > >> Please update and re-run the Maven build. >> > >> >> > >> ~Andrius >> > >> >> > >> On Thu, Jul 19, 2012 at 7:16 PM, Jon Lockhart <ja...@bu...<mailto:ja...@bu...>> wrote: >> > >> > Dear Leo Freitas, >> > >> > >> > >> > I apologize about that. Andrius asked about that before and it looks >> > >> > like I >> > >> > forgot to reply to the developer list. >> > >> > >> > >> > I am running Windows XP Professional, Service Pack 3, 32-bit. >> > >> > >> > >> > I am currently not using an IDE with this software but was hoping to get >> > >> > it >> > >> > compiled and installed to operate in either Eclipse or jEdit. >> > >> > >> > >> > >> > >> > Dear Andrius Velykis, >> > >> > >> > >> > I reset my variable to be true as you prescribed and then tried the hard >> > >> > reset of CZT folder, but I still ran into the same error as before. >> > >> > >> > >> > I then proceeded to do a fresh checkout of the git repository and that >> > >> > installed just fine for SpecReader. >> > >> > >> > >> > Unfortunately now I run into a new problem. When Typechecker is being >> > >> > tested, the first test, which is TypeCheckerTest, an error occurs in >> > >> > testing, rather than a failure, but of course this causes the build to >> > >> > fail. >> > >> > >> > >> > I have included attached to this email a screen shot of the last lines >> > >> > as >> > >> > like before, and I included the xml and txt files from the surefire >> > >> > reports. >> > >> > >> > >> > >> > >> > Thanks, >> > >> > Jon Lockhart >> > >> > >> > >> > >> > >> > >> > >> > On Thu, Jul 19, 2012 at 12:31 PM, Andrius Velykis <an...@ve...<mailto:an...@ve...>> >> > >> > wrote: >> > >> >> >> > >> >> Dear Jon Lockhart, >> > >> >> >> > >> >> Thanks for spotting the problem. We were not handling the Windows line >> > >> >> breaks correctly. It seems that the Specreader module was expecting to >> > >> >> be working with Unix-style line breaks (see bug #3545808 for details: >> > >> >> >> > >> >> >> > >> >> https://sourceforge.net/tracker/?func=detail&aid=3545808&group_id=86250&atid=578942). >> > >> >> >> > >> >> I have committed a workaround which allows tests to go through for >> > >> >> now. As a result of this, I have also committed better handling of >> > >> >> line breaks when checking out/committing to our Git repository. We are >> > >> >> now expecting to have Windows style line breaks on Windows. >> > >> >> >> > >> >> To get the build working, you need to set the conversion to >> > >> >> Windows-style line breaks back to original: >> > >> >> >> > >> >> git config --global core.autocrlf true >> > >> >> >> > >> >> Then you need to reset your Git repository (execute the following >> > >> >> commands in the root of your CZT checkout): >> > >> >> >> > >> >> del .git\index >> > >> >> git reset --hard >> > >> >> >> > >> >> Alternatively, you could re-checkout the CZT repository from Git. >> > >> >> >> > >> >> Now the Maven build should go through. I tested it on my Windows 7 >> > >> >> machine. >> > >> >> >> > >> >> Could you report your results? >> > >> >> >> > >> >> Thanks! >> > >> >> ~Andrius >> > >> >> >> > >> >> On Thu, Jul 19, 2012 at 8:28 AM, Leo Freitas >> > >> >> <leo...@ne...<mailto:leo...@ne...>> wrote: >> > >> >> > Hi Jon, >> > >> >> > >> > >> >> > This is indeed a puzzling error... in the past I encountered such >> > >> >> > character encoding errors when using variations of Eclipse and >> > >> >> > Netbeans IDEs >> > >> >> > and the >> > >> >> > problem was associated to the way their character encoding was setup >> > >> >> > due >> > >> >> > to, within my Windows environment, me having Portuguese and English >> > >> >> > as >> > >> >> > languages with input (i.e. Netbeans v5 i think, thought it useful to >> > >> >> > change the character encoding of one test file because it somehow >> > >> >> > figured >> > >> >> > out it was for >> > >> >> > Portuguese encoding, despite the fact I haven't asked for this >> > >> >> > neither >> > >> >> > used Portuguese there!). >> > >> >> > >> > >> >> > We will try rebuilding it under windows here to see if it happens for >> > >> >> > us >> > >> >> > --- otherwise, we would need to know more about your local >> > >> >> > configuration >> > >> >> > both IDE and OS I guess... >> > >> >> > >> > >> >> > Best, >> > >> >> > Leo >> > >> >> > >> > >> >> > On 18 Jul 2012, at 22:06, Andrius Velykis wrote: >> > >> >> > >> > >> >> >> Dear Jon Lockhart, >> > >> >> >> >> > >> >> >> This looks like a very puzzling error - from the output it seems >> > >> >> >> that >> > >> >> >> some characters are out of place (e.g. shifted in place). Could you >> > >> >> >> give a >> > >> >> >> bit more information on your system? E.g. is it 32bit or 64bit >> > >> >> >> windows? What >> > >> >> >> is your system character encoding? Which version of Java JDK are you >> > >> >> >> using? >> > >> >> >> >> > >> >> >> Thanks! >> > >> >> >> >> > >> >> >> Best regards, >> > >> >> >> ~Andrius Velykis >> > >> >> >> >> > >> >> >> On 18 Jul 2012, at 20:59, Jon Lockhart wrote: >> > >> >> >> >> > >> >> >>> Dear Andrius Velykis, >> > >> >> >>> >> > >> >> >>> Thanks for all the suggestions and help. I used the INSTALL.md file >> > >> >> >>> this time and made some minor adjustments, like to my Maven Java >> > >> >> >>> variables, >> > >> >> >>> but I still ran into the same test failures under installing >> > >> >> >>> specreader. I >> > >> >> >>> have attached the surefire txt and xml files to this email along >> > >> >> >>> with a >> > >> >> >>> screen cap of the final lines of output that is given from the >> > >> >> >>> Maven build. >> > >> >> >>> >> > >> >> >>> I hope it will help in figuring out how alleviate the problems I am >> > >> >> >>> having with the install. I have tried everything I can think of to >> > >> >> >>> get past >> > >> >> >>> these errors. >> > >> >> >>> >> > >> >> >>> Thanks >> > >> >> >>> Jon Lockhart >> > >> >> >>> >> > >> >> >>> On Wed, Jul 18, 2012 at 5:34 AM, Andrius Velykis >> > >> >> >>> <an...@ve...<mailto:an...@ve...>> >> > >> >> >>> wrote: >> > >> >> >>> Dear Jon Lockhart, >> > >> >> >>> >> > >> >> >>> Thanks for reporting your experiences building CZT. Could you send >> > >> >> >>> more details about the error that is occurring for you? The last >> > >> >> >>> bits >> > >> >> >>> of Maven build output would be good, or if tests are failing, try >> > >> >> >>> attaching surefire test reports with the failures. >> > >> >> >>> >> > >> >> >>> Also, there have been some changes since the last release, so the >> > >> >> >>> installation instructions on the website may not be fully >> > >> >> >>> up-to-date. >> > >> >> >>> >> > >> >> >>> The SVN repository is no longer updated (currently read-only and >> > >> >> >>> will >> > >> >> >>> be removed soon). All new code goes to the Git repository. There >> > >> >> >>> are >> > >> >> >>> more up-to-date instructions on building CZT available in the Git >> > >> >> >>> repository: >> > >> >> >>> >> > >> >> >>> http://czt.git.sourceforge.net/git/gitweb.cgi?p=czt/czt;a=blob_plain;f=INSTALL.md >> > >> >> >>> >> > >> >> >>> Finally, we have quite nice Eclipse plug-ins in the latest version >> > >> >> >>> for >> > >> >> >>> CZT as an alternative to jEdit - the update site is built together >> > >> >> >>> with the whole CZT. >> > >> >> >>> >> > >> >> >>> I am looking into setting up a continuous integration (CI) system >> > >> >> >>> for >> > >> >> >>> CZT soon. Hopefully then we will have "nightly" downloads and there >> > >> >> >>> will be less need to build everything manually. >> > >> >> >>> >> > >> >> >>> Best regards, >> > >> >> >>> ~Andrius Velykis >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> On Tue, Jul 17, 2012 at 9:00 PM, Jon Lockhart <ja...@bu...<mailto:ja...@bu...>> >> > >> >> >>> wrote: >> > >> >> >>>> Dear CZT Developers, >> > >> >> >>>> >> > >> >> >>>> I am having an issue building versions of the CZT tool set in >> > >> >> >>>> Windows, and I >> > >> >> >>>> am wondering if anyone has had a similar issue recently or in the >> > >> >> >>>> past and >> > >> >> >>>> has a suggestion for handling this problems, or a solution, which >> > >> >> >>>> would be >> > >> >> >>>> more beneficial in my case. >> > >> >> >>>> >> > >> >> >>>> I first started with following the installation instructions on >> > >> >> >>>> the >> > >> >> >>>> site, >> > >> >> >>>> and downloaded an available copy of the svn version of 1.5, git >> > >> >> >>>> bash, >> > >> >> >>>> maven, >> > >> >> >>>> and jedit. While trying to build the czt files, after got through >> > >> >> >>>> all >> > >> >> >>>> the >> > >> >> >>>> installation instructions for the various tool sets, I ran into a >> > >> >> >>>> dependency >> > >> >> >>>> error on typechecker. Now I know that in the install it says that >> > >> >> >>>> dependency >> > >> >> >>>> errors will arise and that I just continue to try reinstalling but >> > >> >> >>>> after >> > >> >> >>>> several attempts all resulting in the same error, I decided that I >> > >> >> >>>> should >> > >> >> >>>> try getting the latest version of CZT from the git repository, >> > >> >> >>>> seeing >> > >> >> >>>> that >> > >> >> >>>> it was a newer version and maybe some of these dependency errors >> > >> >> >>>> would be >> > >> >> >>>> resolved. Unfortunately this was not the case and in fact I also >> > >> >> >>>> ran >> > >> >> >>>> into an >> > >> >> >>>> error in one of the tests for typechecker. So this time around I >> > >> >> >>>> had >> > >> >> >>>> a test >> > >> >> >>>> error occur every time for type checker, and then I am always >> > >> >> >>>> running >> > >> >> >>>> into >> > >> >> >>>> the same dependency error with the rules with the latest version >> > >> >> >>>> from >> > >> >> >>>> git. >> > >> >> >>>> >> > >> >> >>>> I have tried downloading version 1.5 and 1.6 again multiple times >> > >> >> >>>> thinking >> > >> >> >>>> that there was possibly an error in the download I had, I have >> > >> >> >>>> tried >> > >> >> >>>> increasing the java stack in my maven variables to 512 from 256, >> > >> >> >>>> and >> > >> >> >>>> I have >> > >> >> >>>> even tried looking through the mail repository to see if anyone >> > >> >> >>>> else >> > >> >> >>>> has had >> > >> >> >>>> an issue with compiling these more recent versions on Windows, but >> > >> >> >>>> I >> > >> >> >>>> didn't >> > >> >> >>>> see any. >> > >> >> >>>> >> > >> >> >>>> As I said I am very open to fixes, solutions, or a work around for >> > >> >> >>>> getting >> > >> >> >>>> CZT compiled on a Windows box, so that I can import the necessary >> > >> >> >>>> jar >> > >> >> >>>> files >> > >> >> >>>> into jEdit so I can start using that for my writing of Zed >> > >> >> >>>> specifications. >> > >> >> >>>> >> > >> >> >>>> Thanks, >> > >> >> >>>> Jon Lockhart >> > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> ------------------------------------------------------------------------------ >> > >> >> >>>> Live Security Virtual Conference >> > >> >> >>>> Exclusive live event will cover all the ways today's security and >> > >> >> >>>> threat landscape has changed and how IT managers can respond. >> > >> >> >>>> Discussions >> > >> >> >>>> will include endpoint security, mobile security and the latest in >> > >> >> >>>> malware >> > >> >> >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > >> >> >>>> _______________________________________________ >> > >> >> >>>> CZT-Devel mailing list >> > >> >> >>>> CZT...@li...<mailto:CZT...@li...> >> > >> >> >>>> https://lists.sourceforge.net/lists/listinfo/czt-devel >> > >> >> >>>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> <net.sourceforge.czt.specreader.PermuteMarkupTest.txt><SpecReaderError.jpg><TEST-net.sourceforge.czt.specreader.PreludeTest.xml><net.sourceforge.czt.specreader.PreludeTest.txt><TEST-net.sourceforge.czt.specreader.PermuteMarkupTest.xml> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> > >> >> >> Live Security Virtual Conference >> > >> >> >> Exclusive live event will cover all the ways today's security and >> > >> >> >> threat landscape has changed and how IT managers can respond. >> > >> >> >> Discussions >> > >> >> >> will include endpoint security, mobile security and the latest in >> > >> >> >> malware >> > >> >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > >> >> >> _______________________________________________ >> > >> >> >> CZT-Devel mailing list >> > >> >> >> CZT...@li...<mailto:CZT...@li...> >> > >> >> >> https://lists.sourceforge.net/lists/listinfo/czt-devel >> > >> >> > >> > >> > >> > >> > >> > > >> > > >> > >> >> >> <net.sourceforge.czt.vcg.util.DefinitionTableTest.txt><TEST-net.sourceforge.czt.vcg.util.DefinitionTableTest.xml><CZT - VCG - Error.jpg>------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> CZT-Devel mailing list >> CZT...@li...<mailto:CZT...@li...> >> https://lists.sourceforge.net/lists/listinfo/czt-devel > > > <net.sourceforge.czt.vcg.z.refinement.RefinementTest.txt><CZT - VCG - Error.jpg><TEST-net.sourceforge.czt.vcg.z.refinement.RefinementTest.xml> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ CZT-Devel mailing list CZT...@li...<mailto:CZT...@li...> https://lists.sourceforge.net/lists/listinfo/czt-devel |
From: Andrius V. <an...@ve...> - 2012-07-30 08:19:16
|
Dear Jon, It is a weird problem. I really doubt it can be something that was set on the repository, because first, Git does not store per-file permissions, and second, that directory is ignored in the repository, so it is created for each individual machine. To circumvent, could you try deleting the whole directory C:\Users\Jon\MyCZT\czt\vcg\target ? Then you should be able to resume the build - and report if the problem appears again? Thanks, ~Andrius On Sun, Jul 29, 2012 at 10:02 PM, Jon Lockhart <ja...@bu...> wrote: > Andrius, > > I checked my permissions and I have been trying to work with the file, and I > have no permissions on the file set that would prevent me from deleting it > while the code is compiled. I am the admin on my machine and have also tried > running the compilation in admin mode, to no success. It is also in a folder > that allows for complete modification and removal of files. > > Is there any possibility that you may have some permissions set on the file > when you were working on the repository? > > Thanks, > Jon Lockhart > > > On Mon, Jul 23, 2012 at 2:00 PM, Andrius Velykis <an...@ve...> wrote: >> >> Dear Jon, >> >> It says it cannot delete the following test file: >> C:\Users\Jon\MyCZT\czt\vcg\target\test-classes\tests\z\zstateref_ref.tex >> >> Do you have it open in some editor? Or does it have some bad permissions? >> >> Best regards, >> ~Andrius >> >> On 23 Jul 2012, at 18:44, Jon Lockhart wrote: >> >> > Dear Leo, >> > >> > Thanks for the information you provided. After some digging into the >> > install more, I noticed what you mentioned and that the installer is just >> > throwing an exception on these particular sets of tests and is printing them >> > to the terminal. On closer examination the runs do return that all 25 have >> > succeeded successfully. >> > >> > As per your question, I am currently exploring the space of tool sets >> > that are available currently for Zed to help me write and prove >> > specifications that I am writing. I am currently developing some and >> > exploring Zed as a possible avenue for my dissertation. >> > >> > Dear Andrius, >> > >> > I was interested in what Leo said so I ran an install again, and he was >> > right in that the output was just from an exception thrown and not actually >> > causing an error. Since I started running the tests again I have come across >> > the same error ever time in VCG which causes it to fail compiling. It >> > appears to be in the zstarteref tests for VCG which reports that it had 123 >> > runs and 1 failure. >> > >> > Attached is the screen shot of the end of the install, along with the >> > surefire reports on this test from VCG. >> > >> > Thanks, >> > Jon Lockhart >> > >> > On Mon, Jul 23, 2012 at 4:12 AM, Leo Freitas >> > <leo...@ne...> wrote: >> > Hi guys, >> > >> > Perhaps I could she some light to this regarding the VCG... >> > >> > Within the test files I've added, there are some that are known to fail, >> > yet are not implemented / fixed. >> > Those appear in (a verbose) output as a reminder of the fact, as well as >> > a warning to what is not implemented. >> > Many of these cases have to do with weird uses of the schema calculus >> > allowed by the standard. Ex: >> > >> > \begin{axdef} >> > S == [ x: \nat | P(x) ] \\ >> > \end{axdef} >> > >> > (i.e. const declarations as part of an axiomatic box declPart; and other >> > similar cases within other declParts). >> > I call this "weird" because it does not aggregate much expressiveness >> > value (i.e. you can say the same thing >> > in other clearer ways) yet make tool building a nightmare! (e.g. see >> > Andrew Martin's paper >> > http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.7231). >> > >> > Another category is to do with name collusion, which could happen in >> > practice, although not as often: >> > >> > S == [ x: \power(\nat \cross \nat) | P(x) ] >> > T == [ x: \num \pfun \nat | Q(x) ] >> > R == [ x: \seq (0 \upto 20) | M(x) ] >> > Op == S \land T \land R >> > >> > In this case, you have "x" with three different declared type, yet they >> > are type-compatible: the function and the >> > sequence types used are indeed sets of pairs of numbers (i.e. >> > typechecking in Z is maximal, hence the greatest-common-type >> > is used in order to enable automatic typechecking; otherwise one would >> > have a situation that to typecheck a Z specificaiton you >> > would need to prove as many theorems as typechecking conditions.). So, >> > in effect, Op equals to: >> > >> > Op == [ x: \power(\arithmos \cross \arithmos) | P(x) \land Q(x) \land >> > R(x) \land x \in \power(\nat \cross \nat) \cap (\num \pfun \nat) \cap (\seq >> > (0 \upto 20)) ] >> > >> > When creating VCs, the VCG has a (strict) setting of typechecking its >> > generated VCs. Trouble is that in certain scenarios of complicated >> > uses of the schema calculus not yet implemented by the VCG, the VCs >> > might not typecheck (if the solution is easily enough fixable by a user), >> > hence the error. The test harness has a series of cases where such >> > unhandled examples exist. >> > >> > In any case, there shouldn't be an error in the final Mavan test report, >> > despite the verbose output. From your latest files, it says >> > >> > >> > ------------------------------------------------------------------------------- >> > Test set: net.sourceforge.czt.vcg.util.DefinitionTableTest >> > >> > ------------------------------------------------------------------------------- >> > Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 >> > sec >> > >> > which tells there were no errors from that run. >> > >> > I agree this is not ideal - I will try an fix that by having flags to >> > the build process so that verbosity is hidden from the user. >> > >> > For the extra needed implementation features to cover more of the schema >> > calculus, the solution is not straightforward, as ultimately, >> > one would need full schema normalisation, which is quite tricky to >> > achieve (i.e. see the Rules project for more on this). In practice, >> > I took a pragmatic approach: I implement the bits that I needed for the >> > examples I handled. Given the driving example(s) already contained >> > quite complicated Z schema calculus usage (i.e. Mondex smartcards and >> > Tokeneer ID station, etc), I am going to add more as needed. >> > For instance, another case where the VCG could generate a >> > type-incorrect-due-to-schema-calculus-issues (if the VC one needs) is when >> > certain uses of generic types appear in the schemas used. >> > >> > In any case, thank you very much for your input and for the interest in >> > CZT. >> > >> > By the way, could I ask what do you have in mind with using CZT? Would >> > you be interested in implementation of features / ideas? >> > >> > Many thanks again, >> > >> > Best, >> > Leo >> > >> > On 22 Jul 2012, at 23:01, Jon Lockhart wrote: >> > >> >> Dear Andrius, >> >> >> >> Just tried installing on my desktop. Everything was running great and a >> >> lot faster on my Win 7 box, but I hit another error while installing, this >> >> time on VCG. It says that there was an exception thrown when running the one >> >> of the test that has tables in it. >> >> >> >> As always I have included the Surefire reports for you to look at. >> >> >> >> Thanks, >> >> Jon >> >> >> >> >> >> On Fri, Jul 20, 2012 at 1:39 PM, Andrius Velykis <an...@ve...> >> >> wrote: >> >> Dear Jon, >> >> >> >> It is possible that you just physically run out - the settings >> >> -Xmx1024m say that you allocate Maven 1 gig of RAM (1024 megabytes). Please >> >> try it on your desktop - hope the error goes away. >> >> >> >> Best regards, >> >> ~Andrius >> >> >> >> >> >> >> >> On 20 Jul 2012, at 17:17, Jon Lockhart wrote: >> >> >> >> > Dear Andrius, >> >> > >> >> > I realize I only have a gig of ram on this really old laptop I am >> >> > using for developments and things of that nature. Its convenient for taking >> >> > to the lab and back, but I realize now it may not be enough and I may have >> >> > to switch to my desktop if that is the case. >> >> > >> >> > When the build quits on the error saying Java has run out of space, >> >> > it says that it is the Java Heap, not PermGen or anything else that is out >> >> > of space. >> >> > >> >> > Thanks, >> >> > Jon Lockhart >> >> > >> >> > On Fri, Jul 20, 2012 at 2:31 AM, Andrius Velykis <an...@ve...> >> >> > wrote: >> >> > Dear Jon, >> >> > >> >> > Good to hear about the fixes. >> >> > >> >> > Interesting out of memory issues - I am pretty sure 1024 and 512 are >> >> > enough. Could you show the exact error message? Is it Heap Space or >> >> > PermGen or other? >> >> > >> >> > How much actual memory do you have on your machine? >> >> > >> >> > Best regards, >> >> > ~Andrius >> >> > >> >> > On Fri, Jul 20, 2012 at 2:41 AM, Jon Lockhart <ja...@bu...> >> >> > wrote: >> >> > > Dear Andrius, >> >> > > >> >> > > Those fixes have seemed to help just fine, and I get well beyond >> >> > > them now >> >> > > when installing. >> >> > > >> >> > > Now I get an issue when installing the JFlex package. It says I am >> >> > > out of >> >> > > memory and I need to increase the heap size. I had my variables set >> >> > > for >> >> > > Maven to 1024 and 512, just like the INSTALL.md said to do and then >> >> > > I bumped >> >> > > them up to 2048 and 1024 respectively, and that also did not seem >> >> > > to help. >> >> > > >> >> > > Any suggestions on this error? I don't think I want to increase the >> >> > > Java >> >> > > space too much more. >> >> > > >> >> > > Thanks, >> >> > > Jon Lockhart >> >> > > >> >> > > >> >> > > On Thu, Jul 19, 2012 at 4:18 PM, Andrius Velykis >> >> > > <an...@ve...> wrote: >> >> > >> >> >> > >> Dear Jon Lochart, >> >> > >> >> >> > >> I guess we have to congratulate you again - you found another bug >> >> > >> (filed as #3546060: >> >> > >> >> >> > >> >> >> > >> https://sourceforge.net/tracker/index.php?func=detail&aid=3546060&group_id=86250&atid=578942). >> >> > >> >> >> > >> What is _extremely_ suprising that you are the first one to have >> >> > >> stumbled on it. The issue is that there were problems with >> >> > >> handling >> >> > >> paths that have spaces in them (e.g. your "Documents and >> >> > >> Settings"). >> >> > >> The exceptions appear every time you put the CZT repository on a >> >> > >> path >> >> > >> with spaces. Surprisingly, no-one has ever done it! :) >> >> > >> >> >> > >> So thanks for the report - I have fixed it in the Git repository. >> >> > >> Please update and re-run the Maven build. >> >> > >> >> >> > >> ~Andrius >> >> > >> >> >> > >> On Thu, Jul 19, 2012 at 7:16 PM, Jon Lockhart >> >> > >> <ja...@bu...> wrote: >> >> > >> > Dear Leo Freitas, >> >> > >> > >> >> > >> > I apologize about that. Andrius asked about that before and it >> >> > >> > looks >> >> > >> > like I >> >> > >> > forgot to reply to the developer list. >> >> > >> > >> >> > >> > I am running Windows XP Professional, Service Pack 3, 32-bit. >> >> > >> > >> >> > >> > I am currently not using an IDE with this software but was >> >> > >> > hoping to get >> >> > >> > it >> >> > >> > compiled and installed to operate in either Eclipse or jEdit. >> >> > >> > >> >> > >> > >> >> > >> > Dear Andrius Velykis, >> >> > >> > >> >> > >> > I reset my variable to be true as you prescribed and then tried >> >> > >> > the hard >> >> > >> > reset of CZT folder, but I still ran into the same error as >> >> > >> > before. >> >> > >> > >> >> > >> > I then proceeded to do a fresh checkout of the git repository >> >> > >> > and that >> >> > >> > installed just fine for SpecReader. >> >> > >> > >> >> > >> > Unfortunately now I run into a new problem. When Typechecker is >> >> > >> > being >> >> > >> > tested, the first test, which is TypeCheckerTest, an error >> >> > >> > occurs in >> >> > >> > testing, rather than a failure, but of course this causes the >> >> > >> > build to >> >> > >> > fail. >> >> > >> > >> >> > >> > I have included attached to this email a screen shot of the last >> >> > >> > lines >> >> > >> > as >> >> > >> > like before, and I included the xml and txt files from the >> >> > >> > surefire >> >> > >> > reports. >> >> > >> > >> >> > >> > >> >> > >> > Thanks, >> >> > >> > Jon Lockhart >> >> > >> > >> >> > >> > >> >> > >> > >> >> > >> > On Thu, Jul 19, 2012 at 12:31 PM, Andrius Velykis >> >> > >> > <an...@ve...> >> >> > >> > wrote: >> >> > >> >> >> >> > >> >> Dear Jon Lockhart, >> >> > >> >> >> >> > >> >> Thanks for spotting the problem. We were not handling the >> >> > >> >> Windows line >> >> > >> >> breaks correctly. It seems that the Specreader module was >> >> > >> >> expecting to >> >> > >> >> be working with Unix-style line breaks (see bug #3545808 for >> >> > >> >> details: >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> https://sourceforge.net/tracker/?func=detail&aid=3545808&group_id=86250&atid=578942). >> >> > >> >> >> >> > >> >> I have committed a workaround which allows tests to go through >> >> > >> >> for >> >> > >> >> now. As a result of this, I have also committed better handling >> >> > >> >> of >> >> > >> >> line breaks when checking out/committing to our Git repository. >> >> > >> >> We are >> >> > >> >> now expecting to have Windows style line breaks on Windows. >> >> > >> >> >> >> > >> >> To get the build working, you need to set the conversion to >> >> > >> >> Windows-style line breaks back to original: >> >> > >> >> >> >> > >> >> git config --global core.autocrlf true >> >> > >> >> >> >> > >> >> Then you need to reset your Git repository (execute the >> >> > >> >> following >> >> > >> >> commands in the root of your CZT checkout): >> >> > >> >> >> >> > >> >> del .git\index >> >> > >> >> git reset --hard >> >> > >> >> >> >> > >> >> Alternatively, you could re-checkout the CZT repository from >> >> > >> >> Git. >> >> > >> >> >> >> > >> >> Now the Maven build should go through. I tested it on my >> >> > >> >> Windows 7 >> >> > >> >> machine. >> >> > >> >> >> >> > >> >> Could you report your results? >> >> > >> >> >> >> > >> >> Thanks! >> >> > >> >> ~Andrius >> >> > >> >> >> >> > >> >> On Thu, Jul 19, 2012 at 8:28 AM, Leo Freitas >> >> > >> >> <leo...@ne...> wrote: >> >> > >> >> > Hi Jon, >> >> > >> >> > >> >> > >> >> > This is indeed a puzzling error... in the past I encountered >> >> > >> >> > such >> >> > >> >> > character encoding errors when using variations of Eclipse >> >> > >> >> > and >> >> > >> >> > Netbeans IDEs >> >> > >> >> > and the >> >> > >> >> > problem was associated to the way their character encoding >> >> > >> >> > was setup >> >> > >> >> > due >> >> > >> >> > to, within my Windows environment, me having Portuguese and >> >> > >> >> > English >> >> > >> >> > as >> >> > >> >> > languages with input (i.e. Netbeans v5 i think, thought it >> >> > >> >> > useful to >> >> > >> >> > change the character encoding of one test file because it >> >> > >> >> > somehow >> >> > >> >> > figured >> >> > >> >> > out it was for >> >> > >> >> > Portuguese encoding, despite the fact I haven't asked for >> >> > >> >> > this >> >> > >> >> > neither >> >> > >> >> > used Portuguese there!). >> >> > >> >> > >> >> > >> >> > We will try rebuilding it under windows here to see if it >> >> > >> >> > happens for >> >> > >> >> > us >> >> > >> >> > --- otherwise, we would need to know more about your local >> >> > >> >> > configuration >> >> > >> >> > both IDE and OS I guess... >> >> > >> >> > >> >> > >> >> > Best, >> >> > >> >> > Leo >> >> > >> >> > >> >> > >> >> > On 18 Jul 2012, at 22:06, Andrius Velykis wrote: >> >> > >> >> > >> >> > >> >> >> Dear Jon Lockhart, >> >> > >> >> >> >> >> > >> >> >> This looks like a very puzzling error - from the output it >> >> > >> >> >> seems >> >> > >> >> >> that >> >> > >> >> >> some characters are out of place (e.g. shifted in place). >> >> > >> >> >> Could you >> >> > >> >> >> give a >> >> > >> >> >> bit more information on your system? E.g. is it 32bit or >> >> > >> >> >> 64bit >> >> > >> >> >> windows? What >> >> > >> >> >> is your system character encoding? Which version of Java JDK >> >> > >> >> >> are you >> >> > >> >> >> using? >> >> > >> >> >> >> >> > >> >> >> Thanks! >> >> > >> >> >> >> >> > >> >> >> Best regards, >> >> > >> >> >> ~Andrius Velykis >> >> > >> >> >> >> >> > >> >> >> On 18 Jul 2012, at 20:59, Jon Lockhart wrote: >> >> > >> >> >> >> >> > >> >> >>> Dear Andrius Velykis, >> >> > >> >> >>> >> >> > >> >> >>> Thanks for all the suggestions and help. I used the >> >> > >> >> >>> INSTALL.md file >> >> > >> >> >>> this time and made some minor adjustments, like to my Maven >> >> > >> >> >>> Java >> >> > >> >> >>> variables, >> >> > >> >> >>> but I still ran into the same test failures under >> >> > >> >> >>> installing >> >> > >> >> >>> specreader. I >> >> > >> >> >>> have attached the surefire txt and xml files to this email >> >> > >> >> >>> along >> >> > >> >> >>> with a >> >> > >> >> >>> screen cap of the final lines of output that is given from >> >> > >> >> >>> the >> >> > >> >> >>> Maven build. >> >> > >> >> >>> >> >> > >> >> >>> I hope it will help in figuring out how alleviate the >> >> > >> >> >>> problems I am >> >> > >> >> >>> having with the install. I have tried everything I can >> >> > >> >> >>> think of to >> >> > >> >> >>> get past >> >> > >> >> >>> these errors. >> >> > >> >> >>> >> >> > >> >> >>> Thanks >> >> > >> >> >>> Jon Lockhart >> >> > >> >> >>> >> >> > >> >> >>> On Wed, Jul 18, 2012 at 5:34 AM, Andrius Velykis >> >> > >> >> >>> <an...@ve...> >> >> > >> >> >>> wrote: >> >> > >> >> >>> Dear Jon Lockhart, >> >> > >> >> >>> >> >> > >> >> >>> Thanks for reporting your experiences building CZT. Could >> >> > >> >> >>> you send >> >> > >> >> >>> more details about the error that is occurring for you? The >> >> > >> >> >>> last >> >> > >> >> >>> bits >> >> > >> >> >>> of Maven build output would be good, or if tests are >> >> > >> >> >>> failing, try >> >> > >> >> >>> attaching surefire test reports with the failures. >> >> > >> >> >>> >> >> > >> >> >>> Also, there have been some changes since the last release, >> >> > >> >> >>> so the >> >> > >> >> >>> installation instructions on the website may not be fully >> >> > >> >> >>> up-to-date. >> >> > >> >> >>> >> >> > >> >> >>> The SVN repository is no longer updated (currently >> >> > >> >> >>> read-only and >> >> > >> >> >>> will >> >> > >> >> >>> be removed soon). All new code goes to the Git repository. >> >> > >> >> >>> There >> >> > >> >> >>> are >> >> > >> >> >>> more up-to-date instructions on building CZT available in >> >> > >> >> >>> the Git >> >> > >> >> >>> repository: >> >> > >> >> >>> >> >> > >> >> >>> >> >> > >> >> >>> http://czt.git.sourceforge.net/git/gitweb.cgi?p=czt/czt;a=blob_plain;f=INSTALL.md >> >> > >> >> >>> >> >> > >> >> >>> Finally, we have quite nice Eclipse plug-ins in the latest >> >> > >> >> >>> version >> >> > >> >> >>> for >> >> > >> >> >>> CZT as an alternative to jEdit - the update site is built >> >> > >> >> >>> together >> >> > >> >> >>> with the whole CZT. >> >> > >> >> >>> >> >> > >> >> >>> I am looking into setting up a continuous integration (CI) >> >> > >> >> >>> system >> >> > >> >> >>> for >> >> > >> >> >>> CZT soon. Hopefully then we will have "nightly" downloads >> >> > >> >> >>> and there >> >> > >> >> >>> will be less need to build everything manually. >> >> > >> >> >>> >> >> > >> >> >>> Best regards, >> >> > >> >> >>> ~Andrius Velykis >> >> > >> >> >>> >> >> > >> >> >>> >> >> > >> >> >>> On Tue, Jul 17, 2012 at 9:00 PM, Jon Lockhart >> >> > >> >> >>> <ja...@bu...> >> >> > >> >> >>> wrote: >> >> > >> >> >>>> Dear CZT Developers, >> >> > >> >> >>>> >> >> > >> >> >>>> I am having an issue building versions of the CZT tool set >> >> > >> >> >>>> in >> >> > >> >> >>>> Windows, and I >> >> > >> >> >>>> am wondering if anyone has had a similar issue recently or >> >> > >> >> >>>> in the >> >> > >> >> >>>> past and >> >> > >> >> >>>> has a suggestion for handling this problems, or a >> >> > >> >> >>>> solution, which >> >> > >> >> >>>> would be >> >> > >> >> >>>> more beneficial in my case. >> >> > >> >> >>>> >> >> > >> >> >>>> I first started with following the installation >> >> > >> >> >>>> instructions on >> >> > >> >> >>>> the >> >> > >> >> >>>> site, >> >> > >> >> >>>> and downloaded an available copy of the svn version of >> >> > >> >> >>>> 1.5, git >> >> > >> >> >>>> bash, >> >> > >> >> >>>> maven, >> >> > >> >> >>>> and jedit. While trying to build the czt files, after got >> >> > >> >> >>>> through >> >> > >> >> >>>> all >> >> > >> >> >>>> the >> >> > >> >> >>>> installation instructions for the various tool sets, I ran >> >> > >> >> >>>> into a >> >> > >> >> >>>> dependency >> >> > >> >> >>>> error on typechecker. Now I know that in the install it >> >> > >> >> >>>> says that >> >> > >> >> >>>> dependency >> >> > >> >> >>>> errors will arise and that I just continue to try >> >> > >> >> >>>> reinstalling but >> >> > >> >> >>>> after >> >> > >> >> >>>> several attempts all resulting in the same error, I >> >> > >> >> >>>> decided that I >> >> > >> >> >>>> should >> >> > >> >> >>>> try getting the latest version of CZT from the git >> >> > >> >> >>>> repository, >> >> > >> >> >>>> seeing >> >> > >> >> >>>> that >> >> > >> >> >>>> it was a newer version and maybe some of these dependency >> >> > >> >> >>>> errors >> >> > >> >> >>>> would be >> >> > >> >> >>>> resolved. Unfortunately this was not the case and in fact >> >> > >> >> >>>> I also >> >> > >> >> >>>> ran >> >> > >> >> >>>> into an >> >> > >> >> >>>> error in one of the tests for typechecker. So this time >> >> > >> >> >>>> around I >> >> > >> >> >>>> had >> >> > >> >> >>>> a test >> >> > >> >> >>>> error occur every time for type checker, and then I am >> >> > >> >> >>>> always >> >> > >> >> >>>> running >> >> > >> >> >>>> into >> >> > >> >> >>>> the same dependency error with the rules with the latest >> >> > >> >> >>>> version >> >> > >> >> >>>> from >> >> > >> >> >>>> git. >> >> > >> >> >>>> >> >> > >> >> >>>> I have tried downloading version 1.5 and 1.6 again >> >> > >> >> >>>> multiple times >> >> > >> >> >>>> thinking >> >> > >> >> >>>> that there was possibly an error in the download I had, I >> >> > >> >> >>>> have >> >> > >> >> >>>> tried >> >> > >> >> >>>> increasing the java stack in my maven variables to 512 >> >> > >> >> >>>> from 256, >> >> > >> >> >>>> and >> >> > >> >> >>>> I have >> >> > >> >> >>>> even tried looking through the mail repository to see if >> >> > >> >> >>>> anyone >> >> > >> >> >>>> else >> >> > >> >> >>>> has had >> >> > >> >> >>>> an issue with compiling these more recent versions on >> >> > >> >> >>>> Windows, but >> >> > >> >> >>>> I >> >> > >> >> >>>> didn't >> >> > >> >> >>>> see any. >> >> > >> >> >>>> >> >> > >> >> >>>> As I said I am very open to fixes, solutions, or a work >> >> > >> >> >>>> around for >> >> > >> >> >>>> getting >> >> > >> >> >>>> CZT compiled on a Windows box, so that I can import the >> >> > >> >> >>>> necessary >> >> > >> >> >>>> jar >> >> > >> >> >>>> files >> >> > >> >> >>>> into jEdit so I can start using that for my writing of Zed >> >> > >> >> >>>> specifications. >> >> > >> >> >>>> >> >> > >> >> >>>> Thanks, >> >> > >> >> >>>> Jon Lockhart >> >> > >> >> >>>> >> >> > >> >> >>>> >> >> > >> >> >>>> >> >> > >> >> >>>> >> >> > >> >> >>>> ------------------------------------------------------------------------------ >> >> > >> >> >>>> Live Security Virtual Conference >> >> > >> >> >>>> Exclusive live event will cover all the ways today's >> >> > >> >> >>>> security and >> >> > >> >> >>>> threat landscape has changed and how IT managers can >> >> > >> >> >>>> respond. >> >> > >> >> >>>> Discussions >> >> > >> >> >>>> will include endpoint security, mobile security and the >> >> > >> >> >>>> latest in >> >> > >> >> >>>> malware >> >> > >> >> >>>> threats. >> >> > >> >> >>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> > >> >> >>>> _______________________________________________ >> >> > >> >> >>>> CZT-Devel mailing list >> >> > >> >> >>>> CZT...@li... >> >> > >> >> >>>> https://lists.sourceforge.net/lists/listinfo/czt-devel >> >> > >> >> >>>> >> >> > >> >> >>> >> >> > >> >> >>> >> >> > >> >> >>> >> >> > >> >> >>> >> >> > >> >> >>> <net.sourceforge.czt.specreader.PermuteMarkupTest.txt><SpecReaderError.jpg><TEST-net.sourceforge.czt.specreader.PreludeTest.xml><net.sourceforge.czt.specreader.PreludeTest.txt><TEST-net.sourceforge.czt.specreader.PermuteMarkupTest.xml> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > >> >> >> Live Security Virtual Conference >> >> > >> >> >> Exclusive live event will cover all the ways today's >> >> > >> >> >> security and >> >> > >> >> >> threat landscape has changed and how IT managers can >> >> > >> >> >> respond. >> >> > >> >> >> Discussions >> >> > >> >> >> will include endpoint security, mobile security and the >> >> > >> >> >> latest in >> >> > >> >> >> malware >> >> > >> >> >> threats. >> >> > >> >> >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> > >> >> >> _______________________________________________ >> >> > >> >> >> CZT-Devel mailing list >> >> > >> >> >> CZT...@li... >> >> > >> >> >> https://lists.sourceforge.net/lists/listinfo/czt-devel >> >> > >> >> > >> >> > >> > >> >> > >> > >> >> > > >> >> > > >> >> > >> >> >> >> >> >> >> >> <net.sourceforge.czt.vcg.util.DefinitionTableTest.txt><TEST-net.sourceforge.czt.vcg.util.DefinitionTableTest.xml><CZT >> >> - VCG - >> >> Error.jpg>------------------------------------------------------------------------------ >> >> >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. >> >> Discussions >> >> will include endpoint security, mobile security and the latest in >> >> malware >> >> threats. >> >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> >> CZT-Devel mailing list >> >> CZT...@li... >> >> https://lists.sourceforge.net/lists/listinfo/czt-devel >> > >> > >> > <net.sourceforge.czt.vcg.z.refinement.RefinementTest.txt><CZT - VCG - >> > Error.jpg><TEST-net.sourceforge.czt.vcg.z.refinement.RefinementTest.xml> >> > |
From: Jon L. <ja...@bu...> - 2012-07-29 21:02:42
|
Andrius, I checked my permissions and I have been trying to work with the file, and I have no permissions on the file set that would prevent me from deleting it while the code is compiled. I am the admin on my machine and have also tried running the compilation in admin mode, to no success. It is also in a folder that allows for complete modification and removal of files. Is there any possibility that you may have some permissions set on the file when you were working on the repository? Thanks, Jon Lockhart On Mon, Jul 23, 2012 at 2:00 PM, Andrius Velykis <an...@ve...> wrote: > Dear Jon, > > It says it cannot delete the following test file: > C:\Users\Jon\MyCZT\czt\vcg\target\test-classes\tests\z\zstateref_ref.tex > > Do you have it open in some editor? Or does it have some bad permissions? > > Best regards, > ~Andrius > > On 23 Jul 2012, at 18:44, Jon Lockhart wrote: > > > Dear Leo, > > > > Thanks for the information you provided. After some digging into the > install more, I noticed what you mentioned and that the installer is just > throwing an exception on these particular sets of tests and is printing > them to the terminal. On closer examination the runs do return that all 25 > have succeeded successfully. > > > > As per your question, I am currently exploring the space of tool sets > that are available currently for Zed to help me write and prove > specifications that I am writing. I am currently developing some and > exploring Zed as a possible avenue for my dissertation. > > > > Dear Andrius, > > > > I was interested in what Leo said so I ran an install again, and he was > right in that the output was just from an exception thrown and not actually > causing an error. Since I started running the tests again I have come > across the same error ever time in VCG which causes it to fail compiling. > It appears to be in the zstarteref tests for VCG which reports that it had > 123 runs and 1 failure. > > > > Attached is the screen shot of the end of the install, along with the > surefire reports on this test from VCG. > > > > Thanks, > > Jon Lockhart > > > > On Mon, Jul 23, 2012 at 4:12 AM, Leo Freitas < > leo...@ne...> wrote: > > Hi guys, > > > > Perhaps I could she some light to this regarding the VCG... > > > > Within the test files I've added, there are some that are known to fail, > yet are not implemented / fixed. > > Those appear in (a verbose) output as a reminder of the fact, as well as > a warning to what is not implemented. > > Many of these cases have to do with weird uses of the schema calculus > allowed by the standard. Ex: > > > > \begin{axdef} > > S == [ x: \nat | P(x) ] \\ > > \end{axdef} > > > > (i.e. const declarations as part of an axiomatic box declPart; and other > similar cases within other declParts). > > I call this "weird" because it does not aggregate much expressiveness > value (i.e. you can say the same thing > > in other clearer ways) yet make tool building a nightmare! (e.g. see > Andrew Martin's paper > http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.7231). > > > > Another category is to do with name collusion, which could happen in > practice, although not as often: > > > > S == [ x: \power(\nat \cross \nat) | P(x) ] > > T == [ x: \num \pfun \nat | Q(x) ] > > R == [ x: \seq (0 \upto 20) | M(x) ] > > Op == S \land T \land R > > > > In this case, you have "x" with three different declared type, yet they > are type-compatible: the function and the > > sequence types used are indeed sets of pairs of numbers (i.e. > typechecking in Z is maximal, hence the greatest-common-type > > is used in order to enable automatic typechecking; otherwise one would > have a situation that to typecheck a Z specificaiton you > > would need to prove as many theorems as typechecking conditions.). So, > in effect, Op equals to: > > > > Op == [ x: \power(\arithmos \cross \arithmos) | P(x) \land Q(x) \land > R(x) \land x \in \power(\nat \cross \nat) \cap (\num \pfun \nat) \cap (\seq > (0 \upto 20)) ] > > > > When creating VCs, the VCG has a (strict) setting of typechecking its > generated VCs. Trouble is that in certain scenarios of complicated > > uses of the schema calculus not yet implemented by the VCG, the VCs > might not typecheck (if the solution is easily enough fixable by a user), > > hence the error. The test harness has a series of cases where such > unhandled examples exist. > > > > In any case, there shouldn't be an error in the final Mavan test report, > despite the verbose output. From your latest files, it says > > > > > ------------------------------------------------------------------------------- > > Test set: net.sourceforge.czt.vcg.util.DefinitionTableTest > > > ------------------------------------------------------------------------------- > > Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 > sec > > > > which tells there were no errors from that run. > > > > I agree this is not ideal - I will try an fix that by having flags to > the build process so that verbosity is hidden from the user. > > > > For the extra needed implementation features to cover more of the schema > calculus, the solution is not straightforward, as ultimately, > > one would need full schema normalisation, which is quite tricky to > achieve (i.e. see the Rules project for more on this). In practice, > > I took a pragmatic approach: I implement the bits that I needed for the > examples I handled. Given the driving example(s) already contained > > quite complicated Z schema calculus usage (i.e. Mondex smartcards and > Tokeneer ID station, etc), I am going to add more as needed. > > For instance, another case where the VCG could generate a > type-incorrect-due-to-schema-calculus-issues (if the VC one needs) is when > > certain uses of generic types appear in the schemas used. > > > > In any case, thank you very much for your input and for the interest in > CZT. > > > > By the way, could I ask what do you have in mind with using CZT? Would > you be interested in implementation of features / ideas? > > > > Many thanks again, > > > > Best, > > Leo > > > > On 22 Jul 2012, at 23:01, Jon Lockhart wrote: > > > >> Dear Andrius, > >> > >> Just tried installing on my desktop. Everything was running great and a > lot faster on my Win 7 box, but I hit another error while installing, this > time on VCG. It says that there was an exception thrown when running the > one of the test that has tables in it. > >> > >> As always I have included the Surefire reports for you to look at. > >> > >> Thanks, > >> Jon > >> > >> > >> On Fri, Jul 20, 2012 at 1:39 PM, Andrius Velykis <an...@ve...> > wrote: > >> Dear Jon, > >> > >> It is possible that you just physically run out - the settings > -Xmx1024m say that you allocate Maven 1 gig of RAM (1024 megabytes). Please > try it on your desktop - hope the error goes away. > >> > >> Best regards, > >> ~Andrius > >> > >> > >> > >> On 20 Jul 2012, at 17:17, Jon Lockhart wrote: > >> > >> > Dear Andrius, > >> > > >> > I realize I only have a gig of ram on this really old laptop I am > using for developments and things of that nature. Its convenient for taking > to the lab and back, but I realize now it may not be enough and I may have > to switch to my desktop if that is the case. > >> > > >> > When the build quits on the error saying Java has run out of space, > it says that it is the Java Heap, not PermGen or anything else that is out > of space. > >> > > >> > Thanks, > >> > Jon Lockhart > >> > > >> > On Fri, Jul 20, 2012 at 2:31 AM, Andrius Velykis <an...@ve...> > wrote: > >> > Dear Jon, > >> > > >> > Good to hear about the fixes. > >> > > >> > Interesting out of memory issues - I am pretty sure 1024 and 512 are > >> > enough. Could you show the exact error message? Is it Heap Space or > >> > PermGen or other? > >> > > >> > How much actual memory do you have on your machine? > >> > > >> > Best regards, > >> > ~Andrius > >> > > >> > On Fri, Jul 20, 2012 at 2:41 AM, Jon Lockhart <ja...@bu...> > wrote: > >> > > Dear Andrius, > >> > > > >> > > Those fixes have seemed to help just fine, and I get well beyond > them now > >> > > when installing. > >> > > > >> > > Now I get an issue when installing the JFlex package. It says I am > out of > >> > > memory and I need to increase the heap size. I had my variables set > for > >> > > Maven to 1024 and 512, just like the INSTALL.md said to do and then > I bumped > >> > > them up to 2048 and 1024 respectively, and that also did not seem > to help. > >> > > > >> > > Any suggestions on this error? I don't think I want to increase the > Java > >> > > space too much more. > >> > > > >> > > Thanks, > >> > > Jon Lockhart > >> > > > >> > > > >> > > On Thu, Jul 19, 2012 at 4:18 PM, Andrius Velykis < > an...@ve...> wrote: > >> > >> > >> > >> Dear Jon Lochart, > >> > >> > >> > >> I guess we have to congratulate you again - you found another bug > >> > >> (filed as #3546060: > >> > >> > >> > >> > https://sourceforge.net/tracker/index.php?func=detail&aid=3546060&group_id=86250&atid=578942 > ). > >> > >> > >> > >> What is _extremely_ suprising that you are the first one to have > >> > >> stumbled on it. The issue is that there were problems with handling > >> > >> paths that have spaces in them (e.g. your "Documents and > Settings"). > >> > >> The exceptions appear every time you put the CZT repository on a > path > >> > >> with spaces. Surprisingly, no-one has ever done it! :) > >> > >> > >> > >> So thanks for the report - I have fixed it in the Git repository. > >> > >> Please update and re-run the Maven build. > >> > >> > >> > >> ~Andrius > >> > >> > >> > >> On Thu, Jul 19, 2012 at 7:16 PM, Jon Lockhart <ja...@bu...> > wrote: > >> > >> > Dear Leo Freitas, > >> > >> > > >> > >> > I apologize about that. Andrius asked about that before and it > looks > >> > >> > like I > >> > >> > forgot to reply to the developer list. > >> > >> > > >> > >> > I am running Windows XP Professional, Service Pack 3, 32-bit. > >> > >> > > >> > >> > I am currently not using an IDE with this software but was > hoping to get > >> > >> > it > >> > >> > compiled and installed to operate in either Eclipse or jEdit. > >> > >> > > >> > >> > > >> > >> > Dear Andrius Velykis, > >> > >> > > >> > >> > I reset my variable to be true as you prescribed and then tried > the hard > >> > >> > reset of CZT folder, but I still ran into the same error as > before. > >> > >> > > >> > >> > I then proceeded to do a fresh checkout of the git repository > and that > >> > >> > installed just fine for SpecReader. > >> > >> > > >> > >> > Unfortunately now I run into a new problem. When Typechecker is > being > >> > >> > tested, the first test, which is TypeCheckerTest, an error > occurs in > >> > >> > testing, rather than a failure, but of course this causes the > build to > >> > >> > fail. > >> > >> > > >> > >> > I have included attached to this email a screen shot of the last > lines > >> > >> > as > >> > >> > like before, and I included the xml and txt files from the > surefire > >> > >> > reports. > >> > >> > > >> > >> > > >> > >> > Thanks, > >> > >> > Jon Lockhart > >> > >> > > >> > >> > > >> > >> > > >> > >> > On Thu, Jul 19, 2012 at 12:31 PM, Andrius Velykis < > an...@ve...> > >> > >> > wrote: > >> > >> >> > >> > >> >> Dear Jon Lockhart, > >> > >> >> > >> > >> >> Thanks for spotting the problem. We were not handling the > Windows line > >> > >> >> breaks correctly. It seems that the Specreader module was > expecting to > >> > >> >> be working with Unix-style line breaks (see bug #3545808 for > details: > >> > >> >> > >> > >> >> > >> > >> >> > https://sourceforge.net/tracker/?func=detail&aid=3545808&group_id=86250&atid=578942 > ). > >> > >> >> > >> > >> >> I have committed a workaround which allows tests to go through > for > >> > >> >> now. As a result of this, I have also committed better handling > of > >> > >> >> line breaks when checking out/committing to our Git repository. > We are > >> > >> >> now expecting to have Windows style line breaks on Windows. > >> > >> >> > >> > >> >> To get the build working, you need to set the conversion to > >> > >> >> Windows-style line breaks back to original: > >> > >> >> > >> > >> >> git config --global core.autocrlf true > >> > >> >> > >> > >> >> Then you need to reset your Git repository (execute the > following > >> > >> >> commands in the root of your CZT checkout): > >> > >> >> > >> > >> >> del .git\index > >> > >> >> git reset --hard > >> > >> >> > >> > >> >> Alternatively, you could re-checkout the CZT repository from > Git. > >> > >> >> > >> > >> >> Now the Maven build should go through. I tested it on my > Windows 7 > >> > >> >> machine. > >> > >> >> > >> > >> >> Could you report your results? > >> > >> >> > >> > >> >> Thanks! > >> > >> >> ~Andrius > >> > >> >> > >> > >> >> On Thu, Jul 19, 2012 at 8:28 AM, Leo Freitas > >> > >> >> <leo...@ne...> wrote: > >> > >> >> > Hi Jon, > >> > >> >> > > >> > >> >> > This is indeed a puzzling error... in the past I encountered > such > >> > >> >> > character encoding errors when using variations of Eclipse and > >> > >> >> > Netbeans IDEs > >> > >> >> > and the > >> > >> >> > problem was associated to the way their character encoding > was setup > >> > >> >> > due > >> > >> >> > to, within my Windows environment, me having Portuguese and > English > >> > >> >> > as > >> > >> >> > languages with input (i.e. Netbeans v5 i think, thought it > useful to > >> > >> >> > change the character encoding of one test file because it > somehow > >> > >> >> > figured > >> > >> >> > out it was for > >> > >> >> > Portuguese encoding, despite the fact I haven't asked for this > >> > >> >> > neither > >> > >> >> > used Portuguese there!). > >> > >> >> > > >> > >> >> > We will try rebuilding it under windows here to see if it > happens for > >> > >> >> > us > >> > >> >> > --- otherwise, we would need to know more about your local > >> > >> >> > configuration > >> > >> >> > both IDE and OS I guess... > >> > >> >> > > >> > >> >> > Best, > >> > >> >> > Leo > >> > >> >> > > >> > >> >> > On 18 Jul 2012, at 22:06, Andrius Velykis wrote: > >> > >> >> > > >> > >> >> >> Dear Jon Lockhart, > >> > >> >> >> > >> > >> >> >> This looks like a very puzzling error - from the output it > seems > >> > >> >> >> that > >> > >> >> >> some characters are out of place (e.g. shifted in place). > Could you > >> > >> >> >> give a > >> > >> >> >> bit more information on your system? E.g. is it 32bit or > 64bit > >> > >> >> >> windows? What > >> > >> >> >> is your system character encoding? Which version of Java JDK > are you > >> > >> >> >> using? > >> > >> >> >> > >> > >> >> >> Thanks! > >> > >> >> >> > >> > >> >> >> Best regards, > >> > >> >> >> ~Andrius Velykis > >> > >> >> >> > >> > >> >> >> On 18 Jul 2012, at 20:59, Jon Lockhart wrote: > >> > >> >> >> > >> > >> >> >>> Dear Andrius Velykis, > >> > >> >> >>> > >> > >> >> >>> Thanks for all the suggestions and help. I used the > INSTALL.md file > >> > >> >> >>> this time and made some minor adjustments, like to my Maven > Java > >> > >> >> >>> variables, > >> > >> >> >>> but I still ran into the same test failures under installing > >> > >> >> >>> specreader. I > >> > >> >> >>> have attached the surefire txt and xml files to this email > along > >> > >> >> >>> with a > >> > >> >> >>> screen cap of the final lines of output that is given from > the > >> > >> >> >>> Maven build. > >> > >> >> >>> > >> > >> >> >>> I hope it will help in figuring out how alleviate the > problems I am > >> > >> >> >>> having with the install. I have tried everything I can > think of to > >> > >> >> >>> get past > >> > >> >> >>> these errors. > >> > >> >> >>> > >> > >> >> >>> Thanks > >> > >> >> >>> Jon Lockhart > >> > >> >> >>> > >> > >> >> >>> On Wed, Jul 18, 2012 at 5:34 AM, Andrius Velykis > >> > >> >> >>> <an...@ve...> > >> > >> >> >>> wrote: > >> > >> >> >>> Dear Jon Lockhart, > >> > >> >> >>> > >> > >> >> >>> Thanks for reporting your experiences building CZT. Could > you send > >> > >> >> >>> more details about the error that is occurring for you? The > last > >> > >> >> >>> bits > >> > >> >> >>> of Maven build output would be good, or if tests are > failing, try > >> > >> >> >>> attaching surefire test reports with the failures. > >> > >> >> >>> > >> > >> >> >>> Also, there have been some changes since the last release, > so the > >> > >> >> >>> installation instructions on the website may not be fully > >> > >> >> >>> up-to-date. > >> > >> >> >>> > >> > >> >> >>> The SVN repository is no longer updated (currently > read-only and > >> > >> >> >>> will > >> > >> >> >>> be removed soon). All new code goes to the Git repository. > There > >> > >> >> >>> are > >> > >> >> >>> more up-to-date instructions on building CZT available in > the Git > >> > >> >> >>> repository: > >> > >> >> >>> > >> > >> >> >>> > http://czt.git.sourceforge.net/git/gitweb.cgi?p=czt/czt;a=blob_plain;f=INSTALL.md > >> > >> >> >>> > >> > >> >> >>> Finally, we have quite nice Eclipse plug-ins in the latest > version > >> > >> >> >>> for > >> > >> >> >>> CZT as an alternative to jEdit - the update site is built > together > >> > >> >> >>> with the whole CZT. > >> > >> >> >>> > >> > >> >> >>> I am looking into setting up a continuous integration (CI) > system > >> > >> >> >>> for > >> > >> >> >>> CZT soon. Hopefully then we will have "nightly" downloads > and there > >> > >> >> >>> will be less need to build everything manually. > >> > >> >> >>> > >> > >> >> >>> Best regards, > >> > >> >> >>> ~Andrius Velykis > >> > >> >> >>> > >> > >> >> >>> > >> > >> >> >>> On Tue, Jul 17, 2012 at 9:00 PM, Jon Lockhart < > ja...@bu...> > >> > >> >> >>> wrote: > >> > >> >> >>>> Dear CZT Developers, > >> > >> >> >>>> > >> > >> >> >>>> I am having an issue building versions of the CZT tool set > in > >> > >> >> >>>> Windows, and I > >> > >> >> >>>> am wondering if anyone has had a similar issue recently or > in the > >> > >> >> >>>> past and > >> > >> >> >>>> has a suggestion for handling this problems, or a > solution, which > >> > >> >> >>>> would be > >> > >> >> >>>> more beneficial in my case. > >> > >> >> >>>> > >> > >> >> >>>> I first started with following the installation > instructions on > >> > >> >> >>>> the > >> > >> >> >>>> site, > >> > >> >> >>>> and downloaded an available copy of the svn version of > 1.5, git > >> > >> >> >>>> bash, > >> > >> >> >>>> maven, > >> > >> >> >>>> and jedit. While trying to build the czt files, after got > through > >> > >> >> >>>> all > >> > >> >> >>>> the > >> > >> >> >>>> installation instructions for the various tool sets, I ran > into a > >> > >> >> >>>> dependency > >> > >> >> >>>> error on typechecker. Now I know that in the install it > says that > >> > >> >> >>>> dependency > >> > >> >> >>>> errors will arise and that I just continue to try > reinstalling but > >> > >> >> >>>> after > >> > >> >> >>>> several attempts all resulting in the same error, I > decided that I > >> > >> >> >>>> should > >> > >> >> >>>> try getting the latest version of CZT from the git > repository, > >> > >> >> >>>> seeing > >> > >> >> >>>> that > >> > >> >> >>>> it was a newer version and maybe some of these dependency > errors > >> > >> >> >>>> would be > >> > >> >> >>>> resolved. Unfortunately this was not the case and in fact > I also > >> > >> >> >>>> ran > >> > >> >> >>>> into an > >> > >> >> >>>> error in one of the tests for typechecker. So this time > around I > >> > >> >> >>>> had > >> > >> >> >>>> a test > >> > >> >> >>>> error occur every time for type checker, and then I am > always > >> > >> >> >>>> running > >> > >> >> >>>> into > >> > >> >> >>>> the same dependency error with the rules with the latest > version > >> > >> >> >>>> from > >> > >> >> >>>> git. > >> > >> >> >>>> > >> > >> >> >>>> I have tried downloading version 1.5 and 1.6 again > multiple times > >> > >> >> >>>> thinking > >> > >> >> >>>> that there was possibly an error in the download I had, I > have > >> > >> >> >>>> tried > >> > >> >> >>>> increasing the java stack in my maven variables to 512 > from 256, > >> > >> >> >>>> and > >> > >> >> >>>> I have > >> > >> >> >>>> even tried looking through the mail repository to see if > anyone > >> > >> >> >>>> else > >> > >> >> >>>> has had > >> > >> >> >>>> an issue with compiling these more recent versions on > Windows, but > >> > >> >> >>>> I > >> > >> >> >>>> didn't > >> > >> >> >>>> see any. > >> > >> >> >>>> > >> > >> >> >>>> As I said I am very open to fixes, solutions, or a work > around for > >> > >> >> >>>> getting > >> > >> >> >>>> CZT compiled on a Windows box, so that I can import the > necessary > >> > >> >> >>>> jar > >> > >> >> >>>> files > >> > >> >> >>>> into jEdit so I can start using that for my writing of Zed > >> > >> >> >>>> specifications. > >> > >> >> >>>> > >> > >> >> >>>> Thanks, > >> > >> >> >>>> Jon Lockhart > >> > >> >> >>>> > >> > >> >> >>>> > >> > >> >> >>>> > >> > >> >> >>>> > ------------------------------------------------------------------------------ > >> > >> >> >>>> Live Security Virtual Conference > >> > >> >> >>>> Exclusive live event will cover all the ways today's > security and > >> > >> >> >>>> threat landscape has changed and how IT managers can > respond. > >> > >> >> >>>> Discussions > >> > >> >> >>>> will include endpoint security, mobile security and the > latest in > >> > >> >> >>>> malware > >> > >> >> >>>> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > >> >> >>>> _______________________________________________ > >> > >> >> >>>> CZT-Devel mailing list > >> > >> >> >>>> CZT...@li... > >> > >> >> >>>> https://lists.sourceforge.net/lists/listinfo/czt-devel > >> > >> >> >>>> > >> > >> >> >>> > >> > >> >> >>> > >> > >> >> >>> > >> > >> >> >>> > <net.sourceforge.czt.specreader.PermuteMarkupTest.txt><SpecReaderError.jpg><TEST-net.sourceforge.czt.specreader.PreludeTest.xml><net.sourceforge.czt.specreader.PreludeTest.txt><TEST-net.sourceforge.czt.specreader.PermuteMarkupTest.xml> > >> > >> >> >> > >> > >> >> >> > >> > >> >> >> > >> > >> >> >> > >> > >> >> >> > ------------------------------------------------------------------------------ > >> > >> >> >> Live Security Virtual Conference > >> > >> >> >> Exclusive live event will cover all the ways today's > security and > >> > >> >> >> threat landscape has changed and how IT managers can respond. > >> > >> >> >> Discussions > >> > >> >> >> will include endpoint security, mobile security and the > latest in > >> > >> >> >> malware > >> > >> >> >> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > >> >> >> _______________________________________________ > >> > >> >> >> CZT-Devel mailing list > >> > >> >> >> CZT...@li... > >> > >> >> >> https://lists.sourceforge.net/lists/listinfo/czt-devel > >> > >> >> > > >> > >> > > >> > >> > > >> > > > >> > > > >> > > >> > >> > >> > <net.sourceforge.czt.vcg.util.DefinitionTableTest.txt><TEST-net.sourceforge.czt.vcg.util.DefinitionTableTest.xml><CZT > - VCG - > Error.jpg>------------------------------------------------------------------------------ > >> > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > >> CZT-Devel mailing list > >> CZT...@li... > >> https://lists.sourceforge.net/lists/listinfo/czt-devel > > > > > > <net.sourceforge.czt.vcg.z.refinement.RefinementTest.txt><CZT - VCG - > Error.jpg><TEST-net.sourceforge.czt.vcg.z.refinement.RefinementTest.xml> > > |
From: Jon L. <ja...@bu...> - 2012-07-23 18:43:57
|
Dear Andrius, No I do not have the file opened in any editor or other program on my machine. I do not even have a file system browser open. Its possible it has odd permissions on it but I don't see why it would, I have not modified any of the files other than the clone of the git repository. I will see if I can get the permissions changed and get back to you. Thanks, Jon Lockhart On Mon, Jul 23, 2012 at 2:00 PM, Andrius Velykis <an...@ve...> wrote: > Dear Jon, > > It says it cannot delete the following test file: > C:\Users\Jon\MyCZT\czt\vcg\target\test-classes\tests\z\zstateref_ref.tex > > Do you have it open in some editor? Or does it have some bad permissions? > > Best regards, > ~Andrius > > On 23 Jul 2012, at 18:44, Jon Lockhart wrote: > > > Dear Leo, > > > > Thanks for the information you provided. After some digging into the > install more, I noticed what you mentioned and that the installer is just > throwing an exception on these particular sets of tests and is printing > them to the terminal. On closer examination the runs do return that all 25 > have succeeded successfully. > > > > As per your question, I am currently exploring the space of tool sets > that are available currently for Zed to help me write and prove > specifications that I am writing. I am currently developing some and > exploring Zed as a possible avenue for my dissertation. > > > > Dear Andrius, > > > > I was interested in what Leo said so I ran an install again, and he was > right in that the output was just from an exception thrown and not actually > causing an error. Since I started running the tests again I have come > across the same error ever time in VCG which causes it to fail compiling. > It appears to be in the zstarteref tests for VCG which reports that it had > 123 runs and 1 failure. > > > > Attached is the screen shot of the end of the install, along with the > surefire reports on this test from VCG. > > > > Thanks, > > Jon Lockhart > > > > On Mon, Jul 23, 2012 at 4:12 AM, Leo Freitas < > leo...@ne...> wrote: > > Hi guys, > > > > Perhaps I could she some light to this regarding the VCG... > > > > Within the test files I've added, there are some that are known to fail, > yet are not implemented / fixed. > > Those appear in (a verbose) output as a reminder of the fact, as well as > a warning to what is not implemented. > > Many of these cases have to do with weird uses of the schema calculus > allowed by the standard. Ex: > > > > \begin{axdef} > > S == [ x: \nat | P(x) ] \\ > > \end{axdef} > > > > (i.e. const declarations as part of an axiomatic box declPart; and other > similar cases within other declParts). > > I call this "weird" because it does not aggregate much expressiveness > value (i.e. you can say the same thing > > in other clearer ways) yet make tool building a nightmare! (e.g. see > Andrew Martin's paper > http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.7231). > > > > Another category is to do with name collusion, which could happen in > practice, although not as often: > > > > S == [ x: \power(\nat \cross \nat) | P(x) ] > > T == [ x: \num \pfun \nat | Q(x) ] > > R == [ x: \seq (0 \upto 20) | M(x) ] > > Op == S \land T \land R > > > > In this case, you have "x" with three different declared type, yet they > are type-compatible: the function and the > > sequence types used are indeed sets of pairs of numbers (i.e. > typechecking in Z is maximal, hence the greatest-common-type > > is used in order to enable automatic typechecking; otherwise one would > have a situation that to typecheck a Z specificaiton you > > would need to prove as many theorems as typechecking conditions.). So, > in effect, Op equals to: > > > > Op == [ x: \power(\arithmos \cross \arithmos) | P(x) \land Q(x) \land > R(x) \land x \in \power(\nat \cross \nat) \cap (\num \pfun \nat) \cap (\seq > (0 \upto 20)) ] > > > > When creating VCs, the VCG has a (strict) setting of typechecking its > generated VCs. Trouble is that in certain scenarios of complicated > > uses of the schema calculus not yet implemented by the VCG, the VCs > might not typecheck (if the solution is easily enough fixable by a user), > > hence the error. The test harness has a series of cases where such > unhandled examples exist. > > > > In any case, there shouldn't be an error in the final Mavan test report, > despite the verbose output. From your latest files, it says > > > > > ------------------------------------------------------------------------------- > > Test set: net.sourceforge.czt.vcg.util.DefinitionTableTest > > > ------------------------------------------------------------------------------- > > Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 > sec > > > > which tells there were no errors from that run. > > > > I agree this is not ideal - I will try an fix that by having flags to > the build process so that verbosity is hidden from the user. > > > > For the extra needed implementation features to cover more of the schema > calculus, the solution is not straightforward, as ultimately, > > one would need full schema normalisation, which is quite tricky to > achieve (i.e. see the Rules project for more on this). In practice, > > I took a pragmatic approach: I implement the bits that I needed for the > examples I handled. Given the driving example(s) already contained > > quite complicated Z schema calculus usage (i.e. Mondex smartcards and > Tokeneer ID station, etc), I am going to add more as needed. > > For instance, another case where the VCG could generate a > type-incorrect-due-to-schema-calculus-issues (if the VC one needs) is when > > certain uses of generic types appear in the schemas used. > > > > In any case, thank you very much for your input and for the interest in > CZT. > > > > By the way, could I ask what do you have in mind with using CZT? Would > you be interested in implementation of features / ideas? > > > > Many thanks again, > > > > Best, > > Leo > > > > On 22 Jul 2012, at 23:01, Jon Lockhart wrote: > > > >> Dear Andrius, > >> > >> Just tried installing on my desktop. Everything was running great and a > lot faster on my Win 7 box, but I hit another error while installing, this > time on VCG. It says that there was an exception thrown when running the > one of the test that has tables in it. > >> > >> As always I have included the Surefire reports for you to look at. > >> > >> Thanks, > >> Jon > >> > >> > >> On Fri, Jul 20, 2012 at 1:39 PM, Andrius Velykis <an...@ve...> > wrote: > >> Dear Jon, > >> > >> It is possible that you just physically run out - the settings > -Xmx1024m say that you allocate Maven 1 gig of RAM (1024 megabytes). Please > try it on your desktop - hope the error goes away. > >> > >> Best regards, > >> ~Andrius > >> > >> > >> > >> On 20 Jul 2012, at 17:17, Jon Lockhart wrote: > >> > >> > Dear Andrius, > >> > > >> > I realize I only have a gig of ram on this really old laptop I am > using for developments and things of that nature. Its convenient for taking > to the lab and back, but I realize now it may not be enough and I may have > to switch to my desktop if that is the case. > >> > > >> > When the build quits on the error saying Java has run out of space, > it says that it is the Java Heap, not PermGen or anything else that is out > of space. > >> > > >> > Thanks, > >> > Jon Lockhart > >> > > >> > On Fri, Jul 20, 2012 at 2:31 AM, Andrius Velykis <an...@ve...> > wrote: > >> > Dear Jon, > >> > > >> > Good to hear about the fixes. > >> > > >> > Interesting out of memory issues - I am pretty sure 1024 and 512 are > >> > enough. Could you show the exact error message? Is it Heap Space or > >> > PermGen or other? > >> > > >> > How much actual memory do you have on your machine? > >> > > >> > Best regards, > >> > ~Andrius > >> > > >> > On Fri, Jul 20, 2012 at 2:41 AM, Jon Lockhart <ja...@bu...> > wrote: > >> > > Dear Andrius, > >> > > > >> > > Those fixes have seemed to help just fine, and I get well beyond > them now > >> > > when installing. > >> > > > >> > > Now I get an issue when installing the JFlex package. It says I am > out of > >> > > memory and I need to increase the heap size. I had my variables set > for > >> > > Maven to 1024 and 512, just like the INSTALL.md said to do and then > I bumped > >> > > them up to 2048 and 1024 respectively, and that also did not seem > to help. > >> > > > >> > > Any suggestions on this error? I don't think I want to increase the > Java > >> > > space too much more. > >> > > > >> > > Thanks, > >> > > Jon Lockhart > >> > > > >> > > > >> > > On Thu, Jul 19, 2012 at 4:18 PM, Andrius Velykis < > an...@ve...> wrote: > >> > >> > >> > >> Dear Jon Lochart, > >> > >> > >> > >> I guess we have to congratulate you again - you found another bug > >> > >> (filed as #3546060: > >> > >> > >> > >> > https://sourceforge.net/tracker/index.php?func=detail&aid=3546060&group_id=86250&atid=578942 > ). > >> > >> > >> > >> What is _extremely_ suprising that you are the first one to have > >> > >> stumbled on it. The issue is that there were problems with handling > >> > >> paths that have spaces in them (e.g. your "Documents and > Settings"). > >> > >> The exceptions appear every time you put the CZT repository on a > path > >> > >> with spaces. Surprisingly, no-one has ever done it! :) > >> > >> > >> > >> So thanks for the report - I have fixed it in the Git repository. > >> > >> Please update and re-run the Maven build. > >> > >> > >> > >> ~Andrius > >> > >> > >> > >> On Thu, Jul 19, 2012 at 7:16 PM, Jon Lockhart <ja...@bu...> > wrote: > >> > >> > Dear Leo Freitas, > >> > >> > > >> > >> > I apologize about that. Andrius asked about that before and it > looks > >> > >> > like I > >> > >> > forgot to reply to the developer list. > >> > >> > > >> > >> > I am running Windows XP Professional, Service Pack 3, 32-bit. > >> > >> > > >> > >> > I am currently not using an IDE with this software but was > hoping to get > >> > >> > it > >> > >> > compiled and installed to operate in either Eclipse or jEdit. > >> > >> > > >> > >> > > >> > >> > Dear Andrius Velykis, > >> > >> > > >> > >> > I reset my variable to be true as you prescribed and then tried > the hard > >> > >> > reset of CZT folder, but I still ran into the same error as > before. > >> > >> > > >> > >> > I then proceeded to do a fresh checkout of the git repository > and that > >> > >> > installed just fine for SpecReader. > >> > >> > > >> > >> > Unfortunately now I run into a new problem. When Typechecker is > being > >> > >> > tested, the first test, which is TypeCheckerTest, an error > occurs in > >> > >> > testing, rather than a failure, but of course this causes the > build to > >> > >> > fail. > >> > >> > > >> > >> > I have included attached to this email a screen shot of the last > lines > >> > >> > as > >> > >> > like before, and I included the xml and txt files from the > surefire > >> > >> > reports. > >> > >> > > >> > >> > > >> > >> > Thanks, > >> > >> > Jon Lockhart > >> > >> > > >> > >> > > >> > >> > > >> > >> > On Thu, Jul 19, 2012 at 12:31 PM, Andrius Velykis < > an...@ve...> > >> > >> > wrote: > >> > >> >> > >> > >> >> Dear Jon Lockhart, > >> > >> >> > >> > >> >> Thanks for spotting the problem. We were not handling the > Windows line > >> > >> >> breaks correctly. It seems that the Specreader module was > expecting to > >> > >> >> be working with Unix-style line breaks (see bug #3545808 for > details: > >> > >> >> > >> > >> >> > >> > >> >> > https://sourceforge.net/tracker/?func=detail&aid=3545808&group_id=86250&atid=578942 > ). > >> > >> >> > >> > >> >> I have committed a workaround which allows tests to go through > for > >> > >> >> now. As a result of this, I have also committed better handling > of > >> > >> >> line breaks when checking out/committing to our Git repository. > We are > >> > >> >> now expecting to have Windows style line breaks on Windows. > >> > >> >> > >> > >> >> To get the build working, you need to set the conversion to > >> > >> >> Windows-style line breaks back to original: > >> > >> >> > >> > >> >> git config --global core.autocrlf true > >> > >> >> > >> > >> >> Then you need to reset your Git repository (execute the > following > >> > >> >> commands in the root of your CZT checkout): > >> > >> >> > >> > >> >> del .git\index > >> > >> >> git reset --hard > >> > >> >> > >> > >> >> Alternatively, you could re-checkout the CZT repository from > Git. > >> > >> >> > >> > >> >> Now the Maven build should go through. I tested it on my > Windows 7 > >> > >> >> machine. > >> > >> >> > >> > >> >> Could you report your results? > >> > >> >> > >> > >> >> Thanks! > >> > >> >> ~Andrius > >> > >> >> > >> > >> >> On Thu, Jul 19, 2012 at 8:28 AM, Leo Freitas > >> > >> >> <leo...@ne...> wrote: > >> > >> >> > Hi Jon, > >> > >> >> > > >> > >> >> > This is indeed a puzzling error... in the past I encountered > such > >> > >> >> > character encoding errors when using variations of Eclipse and > >> > >> >> > Netbeans IDEs > >> > >> >> > and the > >> > >> >> > problem was associated to the way their character encoding > was setup > >> > >> >> > due > >> > >> >> > to, within my Windows environment, me having Portuguese and > English > >> > >> >> > as > >> > >> >> > languages with input (i.e. Netbeans v5 i think, thought it > useful to > >> > >> >> > change the character encoding of one test file because it > somehow > >> > >> >> > figured > >> > >> >> > out it was for > >> > >> >> > Portuguese encoding, despite the fact I haven't asked for this > >> > >> >> > neither > >> > >> >> > used Portuguese there!). > >> > >> >> > > >> > >> >> > We will try rebuilding it under windows here to see if it > happens for > >> > >> >> > us > >> > >> >> > --- otherwise, we would need to know more about your local > >> > >> >> > configuration > >> > >> >> > both IDE and OS I guess... > >> > >> >> > > >> > >> >> > Best, > >> > >> >> > Leo > >> > >> >> > > >> > >> >> > On 18 Jul 2012, at 22:06, Andrius Velykis wrote: > >> > >> >> > > >> > >> >> >> Dear Jon Lockhart, > >> > >> >> >> > >> > >> >> >> This looks like a very puzzling error - from the output it > seems > >> > >> >> >> that > >> > >> >> >> some characters are out of place (e.g. shifted in place). > Could you > >> > >> >> >> give a > >> > >> >> >> bit more information on your system? E.g. is it 32bit or > 64bit > >> > >> >> >> windows? What > >> > >> >> >> is your system character encoding? Which version of Java JDK > are you > >> > >> >> >> using? > >> > >> >> >> > >> > >> >> >> Thanks! > >> > >> >> >> > >> > >> >> >> Best regards, > >> > >> >> >> ~Andrius Velykis > >> > >> >> >> > >> > >> >> >> On 18 Jul 2012, at 20:59, Jon Lockhart wrote: > >> > >> >> >> > >> > >> >> >>> Dear Andrius Velykis, > >> > >> >> >>> > >> > >> >> >>> Thanks for all the suggestions and help. I used the > INSTALL.md file > >> > >> >> >>> this time and made some minor adjustments, like to my Maven > Java > >> > >> >> >>> variables, > >> > >> >> >>> but I still ran into the same test failures under installing > >> > >> >> >>> specreader. I > >> > >> >> >>> have attached the surefire txt and xml files to this email > along > >> > >> >> >>> with a > >> > >> >> >>> screen cap of the final lines of output that is given from > the > >> > >> >> >>> Maven build. > >> > >> >> >>> > >> > >> >> >>> I hope it will help in figuring out how alleviate the > problems I am > >> > >> >> >>> having with the install. I have tried everything I can > think of to > >> > >> >> >>> get past > >> > >> >> >>> these errors. > >> > >> >> >>> > >> > >> >> >>> Thanks > >> > >> >> >>> Jon Lockhart > >> > >> >> >>> > >> > >> >> >>> On Wed, Jul 18, 2012 at 5:34 AM, Andrius Velykis > >> > >> >> >>> <an...@ve...> > >> > >> >> >>> wrote: > >> > >> >> >>> Dear Jon Lockhart, > >> > >> >> >>> > >> > >> >> >>> Thanks for reporting your experiences building CZT. Could > you send > >> > >> >> >>> more details about the error that is occurring for you? The > last > >> > >> >> >>> bits > >> > >> >> >>> of Maven build output would be good, or if tests are > failing, try > >> > >> >> >>> attaching surefire test reports with the failures. > >> > >> >> >>> > >> > >> >> >>> Also, there have been some changes since the last release, > so the > >> > >> >> >>> installation instructions on the website may not be fully > >> > >> >> >>> up-to-date. > >> > >> >> >>> > >> > >> >> >>> The SVN repository is no longer updated (currently > read-only and > >> > >> >> >>> will > >> > >> >> >>> be removed soon). All new code goes to the Git repository. > There > >> > >> >> >>> are > >> > >> >> >>> more up-to-date instructions on building CZT available in > the Git > >> > >> >> >>> repository: > >> > >> >> >>> > >> > >> >> >>> > http://czt.git.sourceforge.net/git/gitweb.cgi?p=czt/czt;a=blob_plain;f=INSTALL.md > >> > >> >> >>> > >> > >> >> >>> Finally, we have quite nice Eclipse plug-ins in the latest > version > >> > >> >> >>> for > >> > >> >> >>> CZT as an alternative to jEdit - the update site is built > together > >> > >> >> >>> with the whole CZT. > >> > >> >> >>> > >> > >> >> >>> I am looking into setting up a continuous integration (CI) > system > >> > >> >> >>> for > >> > >> >> >>> CZT soon. Hopefully then we will have "nightly" downloads > and there > >> > >> >> >>> will be less need to build everything manually. > >> > >> >> >>> > >> > >> >> >>> Best regards, > >> > >> >> >>> ~Andrius Velykis > >> > >> >> >>> > >> > >> >> >>> > >> > >> >> >>> On Tue, Jul 17, 2012 at 9:00 PM, Jon Lockhart < > ja...@bu...> > >> > >> >> >>> wrote: > >> > >> >> >>>> Dear CZT Developers, > >> > >> >> >>>> > >> > >> >> >>>> I am having an issue building versions of the CZT tool set > in > >> > >> >> >>>> Windows, and I > >> > >> >> >>>> am wondering if anyone has had a similar issue recently or > in the > >> > >> >> >>>> past and > >> > >> >> >>>> has a suggestion for handling this problems, or a > solution, which > >> > >> >> >>>> would be > >> > >> >> >>>> more beneficial in my case. > >> > >> >> >>>> > >> > >> >> >>>> I first started with following the installation > instructions on > >> > >> >> >>>> the > >> > >> >> >>>> site, > >> > >> >> >>>> and downloaded an available copy of the svn version of > 1.5, git > >> > >> >> >>>> bash, > >> > >> >> >>>> maven, > >> > >> >> >>>> and jedit. While trying to build the czt files, after got > through > >> > >> >> >>>> all > >> > >> >> >>>> the > >> > >> >> >>>> installation instructions for the various tool sets, I ran > into a > >> > >> >> >>>> dependency > >> > >> >> >>>> error on typechecker. Now I know that in the install it > says that > >> > >> >> >>>> dependency > >> > >> >> >>>> errors will arise and that I just continue to try > reinstalling but > >> > >> >> >>>> after > >> > >> >> >>>> several attempts all resulting in the same error, I > decided that I > >> > >> >> >>>> should > >> > >> >> >>>> try getting the latest version of CZT from the git > repository, > >> > >> >> >>>> seeing > >> > >> >> >>>> that > >> > >> >> >>>> it was a newer version and maybe some of these dependency > errors > >> > >> >> >>>> would be > >> > >> >> >>>> resolved. Unfortunately this was not the case and in fact > I also > >> > >> >> >>>> ran > >> > >> >> >>>> into an > >> > >> >> >>>> error in one of the tests for typechecker. So this time > around I > >> > >> >> >>>> had > >> > >> >> >>>> a test > >> > >> >> >>>> error occur every time for type checker, and then I am > always > >> > >> >> >>>> running > >> > >> >> >>>> into > >> > >> >> >>>> the same dependency error with the rules with the latest > version > >> > >> >> >>>> from > >> > >> >> >>>> git. > >> > >> >> >>>> > >> > >> >> >>>> I have tried downloading version 1.5 and 1.6 again > multiple times > >> > >> >> >>>> thinking > >> > >> >> >>>> that there was possibly an error in the download I had, I > have > >> > >> >> >>>> tried > >> > >> >> >>>> increasing the java stack in my maven variables to 512 > from 256, > >> > >> >> >>>> and > >> > >> >> >>>> I have > >> > >> >> >>>> even tried looking through the mail repository to see if > anyone > >> > >> >> >>>> else > >> > >> >> >>>> has had > >> > >> >> >>>> an issue with compiling these more recent versions on > Windows, but > >> > >> >> >>>> I > >> > >> >> >>>> didn't > >> > >> >> >>>> see any. > >> > >> >> >>>> > >> > >> >> >>>> As I said I am very open to fixes, solutions, or a work > around for > >> > >> >> >>>> getting > >> > >> >> >>>> CZT compiled on a Windows box, so that I can import the > necessary > >> > >> >> >>>> jar > >> > >> >> >>>> files > >> > >> >> >>>> into jEdit so I can start using that for my writing of Zed > >> > >> >> >>>> specifications. > >> > >> >> >>>> > >> > >> >> >>>> Thanks, > >> > >> >> >>>> Jon Lockhart > >> > >> >> >>>> > >> > >> >> >>>> > >> > >> >> >>>> > >> > >> >> >>>> > ------------------------------------------------------------------------------ > >> > >> >> >>>> Live Security Virtual Conference > >> > >> >> >>>> Exclusive live event will cover all the ways today's > security and > >> > >> >> >>>> threat landscape has changed and how IT managers can > respond. > >> > >> >> >>>> Discussions > >> > >> >> >>>> will include endpoint security, mobile security and the > latest in > >> > >> >> >>>> malware > >> > >> >> >>>> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > >> >> >>>> _______________________________________________ > >> > >> >> >>>> CZT-Devel mailing list > >> > >> >> >>>> CZT...@li... > >> > >> >> >>>> https://lists.sourceforge.net/lists/listinfo/czt-devel > >> > >> >> >>>> > >> > >> >> >>> > >> > >> >> >>> > >> > >> >> >>> > >> > >> >> >>> > <net.sourceforge.czt.specreader.PermuteMarkupTest.txt><SpecReaderError.jpg><TEST-net.sourceforge.czt.specreader.PreludeTest.xml><net.sourceforge.czt.specreader.PreludeTest.txt><TEST-net.sourceforge.czt.specreader.PermuteMarkupTest.xml> > >> > >> >> >> > >> > >> >> >> > >> > >> >> >> > >> > >> >> >> > >> > >> >> >> > ------------------------------------------------------------------------------ > >> > >> >> >> Live Security Virtual Conference > >> > >> >> >> Exclusive live event will cover all the ways today's > security and > >> > >> >> >> threat landscape has changed and how IT managers can respond. > >> > >> >> >> Discussions > >> > >> >> >> will include endpoint security, mobile security and the > latest in > >> > >> >> >> malware > >> > >> >> >> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> > >> >> >> _______________________________________________ > >> > >> >> >> CZT-Devel mailing list > >> > >> >> >> CZT...@li... > >> > >> >> >> https://lists.sourceforge.net/lists/listinfo/czt-devel > >> > >> >> > > >> > >> > > >> > >> > > >> > > > >> > > > >> > > >> > >> > >> > <net.sourceforge.czt.vcg.util.DefinitionTableTest.txt><TEST-net.sourceforge.czt.vcg.util.DefinitionTableTest.xml><CZT > - VCG - > Error.jpg>------------------------------------------------------------------------------ > >> > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > >> CZT-Devel mailing list > >> CZT...@li... > >> https://lists.sourceforge.net/lists/listinfo/czt-devel > > > > > > <net.sourceforge.czt.vcg.z.refinement.RefinementTest.txt><CZT - VCG - > Error.jpg><TEST-net.sourceforge.czt.vcg.z.refinement.RefinementTest.xml> > > |
From: Andrius V. <an...@ve...> - 2012-07-23 18:00:24
|
Dear Jon, It says it cannot delete the following test file: C:\Users\Jon\MyCZT\czt\vcg\target\test-classes\tests\z\zstateref_ref.tex Do you have it open in some editor? Or does it have some bad permissions? Best regards, ~Andrius On 23 Jul 2012, at 18:44, Jon Lockhart wrote: > Dear Leo, > > Thanks for the information you provided. After some digging into the install more, I noticed what you mentioned and that the installer is just throwing an exception on these particular sets of tests and is printing them to the terminal. On closer examination the runs do return that all 25 have succeeded successfully. > > As per your question, I am currently exploring the space of tool sets that are available currently for Zed to help me write and prove specifications that I am writing. I am currently developing some and exploring Zed as a possible avenue for my dissertation. > > Dear Andrius, > > I was interested in what Leo said so I ran an install again, and he was right in that the output was just from an exception thrown and not actually causing an error. Since I started running the tests again I have come across the same error ever time in VCG which causes it to fail compiling. It appears to be in the zstarteref tests for VCG which reports that it had 123 runs and 1 failure. > > Attached is the screen shot of the end of the install, along with the surefire reports on this test from VCG. > > Thanks, > Jon Lockhart > > On Mon, Jul 23, 2012 at 4:12 AM, Leo Freitas <leo...@ne...> wrote: > Hi guys, > > Perhaps I could she some light to this regarding the VCG... > > Within the test files I've added, there are some that are known to fail, yet are not implemented / fixed. > Those appear in (a verbose) output as a reminder of the fact, as well as a warning to what is not implemented. > Many of these cases have to do with weird uses of the schema calculus allowed by the standard. Ex: > > \begin{axdef} > S == [ x: \nat | P(x) ] \\ > \end{axdef} > > (i.e. const declarations as part of an axiomatic box declPart; and other similar cases within other declParts). > I call this "weird" because it does not aggregate much expressiveness value (i.e. you can say the same thing > in other clearer ways) yet make tool building a nightmare! (e.g. see Andrew Martin's paper http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.7231). > > Another category is to do with name collusion, which could happen in practice, although not as often: > > S == [ x: \power(\nat \cross \nat) | P(x) ] > T == [ x: \num \pfun \nat | Q(x) ] > R == [ x: \seq (0 \upto 20) | M(x) ] > Op == S \land T \land R > > In this case, you have "x" with three different declared type, yet they are type-compatible: the function and the > sequence types used are indeed sets of pairs of numbers (i.e. typechecking in Z is maximal, hence the greatest-common-type > is used in order to enable automatic typechecking; otherwise one would have a situation that to typecheck a Z specificaiton you > would need to prove as many theorems as typechecking conditions.). So, in effect, Op equals to: > > Op == [ x: \power(\arithmos \cross \arithmos) | P(x) \land Q(x) \land R(x) \land x \in \power(\nat \cross \nat) \cap (\num \pfun \nat) \cap (\seq (0 \upto 20)) ] > > When creating VCs, the VCG has a (strict) setting of typechecking its generated VCs. Trouble is that in certain scenarios of complicated > uses of the schema calculus not yet implemented by the VCG, the VCs might not typecheck (if the solution is easily enough fixable by a user), > hence the error. The test harness has a series of cases where such unhandled examples exist. > > In any case, there shouldn't be an error in the final Mavan test report, despite the verbose output. From your latest files, it says > > ------------------------------------------------------------------------------- > Test set: net.sourceforge.czt.vcg.util.DefinitionTableTest > ------------------------------------------------------------------------------- > Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 sec > > which tells there were no errors from that run. > > I agree this is not ideal - I will try an fix that by having flags to the build process so that verbosity is hidden from the user. > > For the extra needed implementation features to cover more of the schema calculus, the solution is not straightforward, as ultimately, > one would need full schema normalisation, which is quite tricky to achieve (i.e. see the Rules project for more on this). In practice, > I took a pragmatic approach: I implement the bits that I needed for the examples I handled. Given the driving example(s) already contained > quite complicated Z schema calculus usage (i.e. Mondex smartcards and Tokeneer ID station, etc), I am going to add more as needed. > For instance, another case where the VCG could generate a type-incorrect-due-to-schema-calculus-issues (if the VC one needs) is when > certain uses of generic types appear in the schemas used. > > In any case, thank you very much for your input and for the interest in CZT. > > By the way, could I ask what do you have in mind with using CZT? Would you be interested in implementation of features / ideas? > > Many thanks again, > > Best, > Leo > > On 22 Jul 2012, at 23:01, Jon Lockhart wrote: > >> Dear Andrius, >> >> Just tried installing on my desktop. Everything was running great and a lot faster on my Win 7 box, but I hit another error while installing, this time on VCG. It says that there was an exception thrown when running the one of the test that has tables in it. >> >> As always I have included the Surefire reports for you to look at. >> >> Thanks, >> Jon >> >> >> On Fri, Jul 20, 2012 at 1:39 PM, Andrius Velykis <an...@ve...> wrote: >> Dear Jon, >> >> It is possible that you just physically run out - the settings -Xmx1024m say that you allocate Maven 1 gig of RAM (1024 megabytes). Please try it on your desktop - hope the error goes away. >> >> Best regards, >> ~Andrius >> >> >> >> On 20 Jul 2012, at 17:17, Jon Lockhart wrote: >> >> > Dear Andrius, >> > >> > I realize I only have a gig of ram on this really old laptop I am using for developments and things of that nature. Its convenient for taking to the lab and back, but I realize now it may not be enough and I may have to switch to my desktop if that is the case. >> > >> > When the build quits on the error saying Java has run out of space, it says that it is the Java Heap, not PermGen or anything else that is out of space. >> > >> > Thanks, >> > Jon Lockhart >> > >> > On Fri, Jul 20, 2012 at 2:31 AM, Andrius Velykis <an...@ve...> wrote: >> > Dear Jon, >> > >> > Good to hear about the fixes. >> > >> > Interesting out of memory issues - I am pretty sure 1024 and 512 are >> > enough. Could you show the exact error message? Is it Heap Space or >> > PermGen or other? >> > >> > How much actual memory do you have on your machine? >> > >> > Best regards, >> > ~Andrius >> > >> > On Fri, Jul 20, 2012 at 2:41 AM, Jon Lockhart <ja...@bu...> wrote: >> > > Dear Andrius, >> > > >> > > Those fixes have seemed to help just fine, and I get well beyond them now >> > > when installing. >> > > >> > > Now I get an issue when installing the JFlex package. It says I am out of >> > > memory and I need to increase the heap size. I had my variables set for >> > > Maven to 1024 and 512, just like the INSTALL.md said to do and then I bumped >> > > them up to 2048 and 1024 respectively, and that also did not seem to help. >> > > >> > > Any suggestions on this error? I don't think I want to increase the Java >> > > space too much more. >> > > >> > > Thanks, >> > > Jon Lockhart >> > > >> > > >> > > On Thu, Jul 19, 2012 at 4:18 PM, Andrius Velykis <an...@ve...> wrote: >> > >> >> > >> Dear Jon Lochart, >> > >> >> > >> I guess we have to congratulate you again - you found another bug >> > >> (filed as #3546060: >> > >> >> > >> https://sourceforge.net/tracker/index.php?func=detail&aid=3546060&group_id=86250&atid=578942). >> > >> >> > >> What is _extremely_ suprising that you are the first one to have >> > >> stumbled on it. The issue is that there were problems with handling >> > >> paths that have spaces in them (e.g. your "Documents and Settings"). >> > >> The exceptions appear every time you put the CZT repository on a path >> > >> with spaces. Surprisingly, no-one has ever done it! :) >> > >> >> > >> So thanks for the report - I have fixed it in the Git repository. >> > >> Please update and re-run the Maven build. >> > >> >> > >> ~Andrius >> > >> >> > >> On Thu, Jul 19, 2012 at 7:16 PM, Jon Lockhart <ja...@bu...> wrote: >> > >> > Dear Leo Freitas, >> > >> > >> > >> > I apologize about that. Andrius asked about that before and it looks >> > >> > like I >> > >> > forgot to reply to the developer list. >> > >> > >> > >> > I am running Windows XP Professional, Service Pack 3, 32-bit. >> > >> > >> > >> > I am currently not using an IDE with this software but was hoping to get >> > >> > it >> > >> > compiled and installed to operate in either Eclipse or jEdit. >> > >> > >> > >> > >> > >> > Dear Andrius Velykis, >> > >> > >> > >> > I reset my variable to be true as you prescribed and then tried the hard >> > >> > reset of CZT folder, but I still ran into the same error as before. >> > >> > >> > >> > I then proceeded to do a fresh checkout of the git repository and that >> > >> > installed just fine for SpecReader. >> > >> > >> > >> > Unfortunately now I run into a new problem. When Typechecker is being >> > >> > tested, the first test, which is TypeCheckerTest, an error occurs in >> > >> > testing, rather than a failure, but of course this causes the build to >> > >> > fail. >> > >> > >> > >> > I have included attached to this email a screen shot of the last lines >> > >> > as >> > >> > like before, and I included the xml and txt files from the surefire >> > >> > reports. >> > >> > >> > >> > >> > >> > Thanks, >> > >> > Jon Lockhart >> > >> > >> > >> > >> > >> > >> > >> > On Thu, Jul 19, 2012 at 12:31 PM, Andrius Velykis <an...@ve...> >> > >> > wrote: >> > >> >> >> > >> >> Dear Jon Lockhart, >> > >> >> >> > >> >> Thanks for spotting the problem. We were not handling the Windows line >> > >> >> breaks correctly. It seems that the Specreader module was expecting to >> > >> >> be working with Unix-style line breaks (see bug #3545808 for details: >> > >> >> >> > >> >> >> > >> >> https://sourceforge.net/tracker/?func=detail&aid=3545808&group_id=86250&atid=578942). >> > >> >> >> > >> >> I have committed a workaround which allows tests to go through for >> > >> >> now. As a result of this, I have also committed better handling of >> > >> >> line breaks when checking out/committing to our Git repository. We are >> > >> >> now expecting to have Windows style line breaks on Windows. >> > >> >> >> > >> >> To get the build working, you need to set the conversion to >> > >> >> Windows-style line breaks back to original: >> > >> >> >> > >> >> git config --global core.autocrlf true >> > >> >> >> > >> >> Then you need to reset your Git repository (execute the following >> > >> >> commands in the root of your CZT checkout): >> > >> >> >> > >> >> del .git\index >> > >> >> git reset --hard >> > >> >> >> > >> >> Alternatively, you could re-checkout the CZT repository from Git. >> > >> >> >> > >> >> Now the Maven build should go through. I tested it on my Windows 7 >> > >> >> machine. >> > >> >> >> > >> >> Could you report your results? >> > >> >> >> > >> >> Thanks! >> > >> >> ~Andrius >> > >> >> >> > >> >> On Thu, Jul 19, 2012 at 8:28 AM, Leo Freitas >> > >> >> <leo...@ne...> wrote: >> > >> >> > Hi Jon, >> > >> >> > >> > >> >> > This is indeed a puzzling error... in the past I encountered such >> > >> >> > character encoding errors when using variations of Eclipse and >> > >> >> > Netbeans IDEs >> > >> >> > and the >> > >> >> > problem was associated to the way their character encoding was setup >> > >> >> > due >> > >> >> > to, within my Windows environment, me having Portuguese and English >> > >> >> > as >> > >> >> > languages with input (i.e. Netbeans v5 i think, thought it useful to >> > >> >> > change the character encoding of one test file because it somehow >> > >> >> > figured >> > >> >> > out it was for >> > >> >> > Portuguese encoding, despite the fact I haven't asked for this >> > >> >> > neither >> > >> >> > used Portuguese there!). >> > >> >> > >> > >> >> > We will try rebuilding it under windows here to see if it happens for >> > >> >> > us >> > >> >> > --- otherwise, we would need to know more about your local >> > >> >> > configuration >> > >> >> > both IDE and OS I guess... >> > >> >> > >> > >> >> > Best, >> > >> >> > Leo >> > >> >> > >> > >> >> > On 18 Jul 2012, at 22:06, Andrius Velykis wrote: >> > >> >> > >> > >> >> >> Dear Jon Lockhart, >> > >> >> >> >> > >> >> >> This looks like a very puzzling error - from the output it seems >> > >> >> >> that >> > >> >> >> some characters are out of place (e.g. shifted in place). Could you >> > >> >> >> give a >> > >> >> >> bit more information on your system? E.g. is it 32bit or 64bit >> > >> >> >> windows? What >> > >> >> >> is your system character encoding? Which version of Java JDK are you >> > >> >> >> using? >> > >> >> >> >> > >> >> >> Thanks! >> > >> >> >> >> > >> >> >> Best regards, >> > >> >> >> ~Andrius Velykis >> > >> >> >> >> > >> >> >> On 18 Jul 2012, at 20:59, Jon Lockhart wrote: >> > >> >> >> >> > >> >> >>> Dear Andrius Velykis, >> > >> >> >>> >> > >> >> >>> Thanks for all the suggestions and help. I used the INSTALL.md file >> > >> >> >>> this time and made some minor adjustments, like to my Maven Java >> > >> >> >>> variables, >> > >> >> >>> but I still ran into the same test failures under installing >> > >> >> >>> specreader. I >> > >> >> >>> have attached the surefire txt and xml files to this email along >> > >> >> >>> with a >> > >> >> >>> screen cap of the final lines of output that is given from the >> > >> >> >>> Maven build. >> > >> >> >>> >> > >> >> >>> I hope it will help in figuring out how alleviate the problems I am >> > >> >> >>> having with the install. I have tried everything I can think of to >> > >> >> >>> get past >> > >> >> >>> these errors. >> > >> >> >>> >> > >> >> >>> Thanks >> > >> >> >>> Jon Lockhart >> > >> >> >>> >> > >> >> >>> On Wed, Jul 18, 2012 at 5:34 AM, Andrius Velykis >> > >> >> >>> <an...@ve...> >> > >> >> >>> wrote: >> > >> >> >>> Dear Jon Lockhart, >> > >> >> >>> >> > >> >> >>> Thanks for reporting your experiences building CZT. Could you send >> > >> >> >>> more details about the error that is occurring for you? The last >> > >> >> >>> bits >> > >> >> >>> of Maven build output would be good, or if tests are failing, try >> > >> >> >>> attaching surefire test reports with the failures. >> > >> >> >>> >> > >> >> >>> Also, there have been some changes since the last release, so the >> > >> >> >>> installation instructions on the website may not be fully >> > >> >> >>> up-to-date. >> > >> >> >>> >> > >> >> >>> The SVN repository is no longer updated (currently read-only and >> > >> >> >>> will >> > >> >> >>> be removed soon). All new code goes to the Git repository. There >> > >> >> >>> are >> > >> >> >>> more up-to-date instructions on building CZT available in the Git >> > >> >> >>> repository: >> > >> >> >>> >> > >> >> >>> http://czt.git.sourceforge.net/git/gitweb.cgi?p=czt/czt;a=blob_plain;f=INSTALL.md >> > >> >> >>> >> > >> >> >>> Finally, we have quite nice Eclipse plug-ins in the latest version >> > >> >> >>> for >> > >> >> >>> CZT as an alternative to jEdit - the update site is built together >> > >> >> >>> with the whole CZT. >> > >> >> >>> >> > >> >> >>> I am looking into setting up a continuous integration (CI) system >> > >> >> >>> for >> > >> >> >>> CZT soon. Hopefully then we will have "nightly" downloads and there >> > >> >> >>> will be less need to build everything manually. >> > >> >> >>> >> > >> >> >>> Best regards, >> > >> >> >>> ~Andrius Velykis >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> On Tue, Jul 17, 2012 at 9:00 PM, Jon Lockhart <ja...@bu...> >> > >> >> >>> wrote: >> > >> >> >>>> Dear CZT Developers, >> > >> >> >>>> >> > >> >> >>>> I am having an issue building versions of the CZT tool set in >> > >> >> >>>> Windows, and I >> > >> >> >>>> am wondering if anyone has had a similar issue recently or in the >> > >> >> >>>> past and >> > >> >> >>>> has a suggestion for handling this problems, or a solution, which >> > >> >> >>>> would be >> > >> >> >>>> more beneficial in my case. >> > >> >> >>>> >> > >> >> >>>> I first started with following the installation instructions on >> > >> >> >>>> the >> > >> >> >>>> site, >> > >> >> >>>> and downloaded an available copy of the svn version of 1.5, git >> > >> >> >>>> bash, >> > >> >> >>>> maven, >> > >> >> >>>> and jedit. While trying to build the czt files, after got through >> > >> >> >>>> all >> > >> >> >>>> the >> > >> >> >>>> installation instructions for the various tool sets, I ran into a >> > >> >> >>>> dependency >> > >> >> >>>> error on typechecker. Now I know that in the install it says that >> > >> >> >>>> dependency >> > >> >> >>>> errors will arise and that I just continue to try reinstalling but >> > >> >> >>>> after >> > >> >> >>>> several attempts all resulting in the same error, I decided that I >> > >> >> >>>> should >> > >> >> >>>> try getting the latest version of CZT from the git repository, >> > >> >> >>>> seeing >> > >> >> >>>> that >> > >> >> >>>> it was a newer version and maybe some of these dependency errors >> > >> >> >>>> would be >> > >> >> >>>> resolved. Unfortunately this was not the case and in fact I also >> > >> >> >>>> ran >> > >> >> >>>> into an >> > >> >> >>>> error in one of the tests for typechecker. So this time around I >> > >> >> >>>> had >> > >> >> >>>> a test >> > >> >> >>>> error occur every time for type checker, and then I am always >> > >> >> >>>> running >> > >> >> >>>> into >> > >> >> >>>> the same dependency error with the rules with the latest version >> > >> >> >>>> from >> > >> >> >>>> git. >> > >> >> >>>> >> > >> >> >>>> I have tried downloading version 1.5 and 1.6 again multiple times >> > >> >> >>>> thinking >> > >> >> >>>> that there was possibly an error in the download I had, I have >> > >> >> >>>> tried >> > >> >> >>>> increasing the java stack in my maven variables to 512 from 256, >> > >> >> >>>> and >> > >> >> >>>> I have >> > >> >> >>>> even tried looking through the mail repository to see if anyone >> > >> >> >>>> else >> > >> >> >>>> has had >> > >> >> >>>> an issue with compiling these more recent versions on Windows, but >> > >> >> >>>> I >> > >> >> >>>> didn't >> > >> >> >>>> see any. >> > >> >> >>>> >> > >> >> >>>> As I said I am very open to fixes, solutions, or a work around for >> > >> >> >>>> getting >> > >> >> >>>> CZT compiled on a Windows box, so that I can import the necessary >> > >> >> >>>> jar >> > >> >> >>>> files >> > >> >> >>>> into jEdit so I can start using that for my writing of Zed >> > >> >> >>>> specifications. >> > >> >> >>>> >> > >> >> >>>> Thanks, >> > >> >> >>>> Jon Lockhart >> > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> ------------------------------------------------------------------------------ >> > >> >> >>>> Live Security Virtual Conference >> > >> >> >>>> Exclusive live event will cover all the ways today's security and >> > >> >> >>>> threat landscape has changed and how IT managers can respond. >> > >> >> >>>> Discussions >> > >> >> >>>> will include endpoint security, mobile security and the latest in >> > >> >> >>>> malware >> > >> >> >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > >> >> >>>> _______________________________________________ >> > >> >> >>>> CZT-Devel mailing list >> > >> >> >>>> CZT...@li... >> > >> >> >>>> https://lists.sourceforge.net/lists/listinfo/czt-devel >> > >> >> >>>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> <net.sourceforge.czt.specreader.PermuteMarkupTest.txt><SpecReaderError.jpg><TEST-net.sourceforge.czt.specreader.PreludeTest.xml><net.sourceforge.czt.specreader.PreludeTest.txt><TEST-net.sourceforge.czt.specreader.PermuteMarkupTest.xml> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> > >> >> >> Live Security Virtual Conference >> > >> >> >> Exclusive live event will cover all the ways today's security and >> > >> >> >> threat landscape has changed and how IT managers can respond. >> > >> >> >> Discussions >> > >> >> >> will include endpoint security, mobile security and the latest in >> > >> >> >> malware >> > >> >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > >> >> >> _______________________________________________ >> > >> >> >> CZT-Devel mailing list >> > >> >> >> CZT...@li... >> > >> >> >> https://lists.sourceforge.net/lists/listinfo/czt-devel >> > >> >> > >> > >> > >> > >> > >> > > >> > > >> > >> >> >> <net.sourceforge.czt.vcg.util.DefinitionTableTest.txt><TEST-net.sourceforge.czt.vcg.util.DefinitionTableTest.xml><CZT - VCG - Error.jpg>------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> CZT-Devel mailing list >> CZT...@li... >> https://lists.sourceforge.net/lists/listinfo/czt-devel > > > <net.sourceforge.czt.vcg.z.refinement.RefinementTest.txt><CZT - VCG - Error.jpg><TEST-net.sourceforge.czt.vcg.z.refinement.RefinementTest.xml> |
From: Jon L. <ja...@bu...> - 2012-07-23 17:45:11
|
------------------------------------------------------------------------------- Test set: net.sourceforge.czt.vcg.z.refinement.RefinementTest ------------------------------------------------------------------------------- Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.767 sec <<< FAILURE! Test normal: file:/C:/Users/Jon/MyCZT/czt/vcg/target/test-classes/tests/z/zstateref.tex(net.sourceforge.czt.vcg.util.VCGTest$NormalVCGTest) Time elapsed: 0.184 sec <<< FAILURE! junit.framework.AssertionFailedError: Unexpected exception File : file:/C:/Users/Jon/MyCZT/czt/vcg/target/test-classes/tests/z/zstateref.tex Exception: net.sourceforge.czt.vcg.z.VCGException: VCGU-PRINT-FILEERROR = file already exists; trying to delete C:\Users\Jon\MyCZT\czt\vcg\target\test-classes\tests\z\zstateref_ref.tex = false Cause : null at junit.framework.Assert.fail(Assert.java:47) at net.sourceforge.czt.parser.util.CztManagedTest$AbstractManagedTest.runTest(CztManagedTest.java:438) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) |