You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org> on 2005/05/10 23:10:08 UTC

[jira] Updated: (BEEHIVE-675) Build fails if folder path in build.properties uses backslash

     [ http://issues.apache.org/jira/browse/BEEHIVE-675?page=all ]

Eddie O'Neil updated BEEHIVE-675:
---------------------------------

      Assign To: Steve Hanson
    Fix Version: V1

The issue here is that Java .properties files need to have '\' escaped correctly as '\\', so if there is need to define a path with win32 slashes, it needs to be :

  c:\\apache\\apache-beehive-1.0

which Ant (and Java) should handle correctly.

This is why Ant files tend to default to:

  c:/apache/apache-beehive-1.0

because Ant does the right thing depending on the platform.

One option here woudld be to just point to the Ant documentation for how to define properties files.

> Build fails if folder path in build.properties uses backslash
> -------------------------------------------------------------
>
>          Key: BEEHIVE-675
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-675
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Rebecca Weinhold
>     Assignee: Steve Hanson
>      Fix For: V1

>
> bash05102005
> In Step 1 (under the heading "Edit the build.properties File") of the Controls tutorial, the user is to "Edit the beehive.home property so it points to the top-level folder of your beehive installation."  If the user enters this folder path as "C:\apache\apache-beehive-1.0" instead of "C:/apache/apache-beehive-1.0", the build fails when they perform "ant clean" in Step 2, under the heading "To Compile and Deploy the Control".
> The failure mentions that the file "C:apacheapache-beehive-1.0/beehive-imports.xml" cannot be found, so it seems that backslashes are simply not recognized by Ant.  This requirement of using forward slashes should be specified in the tutorial, as it is likely to come up for Windows users.

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