From: Andrius V. <an...@ve...> - 2012-07-19 16:31:42
|
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 > |