From: <adr...@us...> - 2011-06-16 19:38:28
|
Revision: 4140 http://reprap.svn.sourceforge.net/reprap/?rev=4140&view=rev Author: adrian-bowyer Date: 2011-06-16 19:38:22 +0000 (Thu, 16 Jun 2011) Log Message: ----------- Removed bug whereby leading and trailing spaces in the serial port name would mean that it was not found. Modified Paths: -------------- trunk/software/host/.classpath trunk/software/host/src/org/reprap/comms/GCodeReaderAndWriter.java Added Paths: ----------- trunk/software/host/lib/swing-layout-1.0.4.jar Modified: trunk/software/host/.classpath =================================================================== --- trunk/software/host/.classpath 2011-06-12 11:02:28 UTC (rev 4139) +++ trunk/software/host/.classpath 2011-06-16 19:38:22 UTC (rev 4140) @@ -6,8 +6,8 @@ <classpathentry kind="lib" path="lib/j3dcore.jar"/> <classpathentry kind="lib" path="lib/j3d-org-java3d-all.jar"/> <classpathentry kind="lib" path="lib/j3dutils.jar"/> + <classpathentry kind="lib" path="lib/vecmath.jar"/> + <classpathentry kind="lib" path="lib/swing-layout-1.0.3.jar"/> <classpathentry kind="lib" path="lib/RXTXcomm.jar"/> - <classpathentry kind="lib" path="lib/swing-layout-1.0.3.jar"/> - <classpathentry kind="lib" path="lib/vecmath.jar"/> <classpathentry kind="output" path="bin"/> </classpath> Added: trunk/software/host/lib/swing-layout-1.0.4.jar =================================================================== (Binary files differ) Property changes on: trunk/software/host/lib/swing-layout-1.0.4.jar ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/software/host/src/org/reprap/comms/GCodeReaderAndWriter.java =================================================================== --- trunk/software/host/src/org/reprap/comms/GCodeReaderAndWriter.java 2011-06-12 11:02:28 UTC (rev 4139) +++ trunk/software/host/src/org/reprap/comms/GCodeReaderAndWriter.java 2011-06-16 19:38:22 UTC (rev 4140) @@ -840,6 +840,8 @@ serialInStream = null; serialOutStream = null; + portName = portName.trim(); + //open our port. Debug.d("GCode opening port " + portName); Main.setRepRapPresent(false); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |