CompileTask fails when directory has a space in it
--------------------------------------------------

                 Key: JIBX-208
                 URL: http://jira.codehaus.org/browse/JIBX-208
             Project: JiBX
          Issue Type: Bug
          Components: core
    Affects Versions: JiBX 1.1.5
         Environment: Windows XP, Java 1.5.0_07, Ant 1.6.5
            Reporter: Brian Sperlongano


When the ant CompileTask is called from within a directory which contains a 
space in the path, the compile fails with the following error:

BUILD FAILED
C:\lis bon\build.xml:148: The following error occurred while executing this 
line:
C:\lis bon\lisbon-sm\build.xml:18: taskdef A class needed by class 
org.jibx.binding.ant.CompileTask cannot be found: org/jibx/runtime/JiBXException

Notice the spaces in the path name.

This particular build works when run from a directory which does not contain a 
space.

I am using the compile task via

        <!-- JiBX binding compiler task definition -->
        <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask" 
classpath="lib/jibx-bind.jar" />

and then later in the script

                <bind verbose="true" load="true" 
binding="${basedir}/conf/jibx-bindings.xml">
                        <classpathset dir="classes" />
                </bind>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to