# [jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2538) Incorrect escaping of paths in seam-gen generated build.properties

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Jan 29 04:22:59 EST 2008

```     [ http://jira.jboss.com/jira/browse/JBSEAM-2538?page=all ]

Shane Bryzak closed JBSEAM-2538.
--------------------------------

Resolution: Cannot Reproduce Bug

I have no idea why, but I can no longer reproduce this issue.  The only change to seam-gen/build.xml was Pete's recent work for JBSEAM-2373 however I can't see how this is related.  For future reference, the issue stemmed from Ant's <propertyfile> task (which uses java.util.Properties under the cover) writing the JBoss path out as this:

jboss.home=c\:/jboss

Which when stored in the build.properties of the new project would be written as (note the backslash):

jboss.home=c:\jboss

However, latest tests performed in a clean environment now produce the correct path:

jboss.home=c:/jboss

It is not entirely satisfactory to have no answer as to why it works now when it didn't before, however not being able to reproduce the issue now has got me stumped.  I'll keep an eye on this anyway in case it does happen again.

> Incorrect escaping of paths in seam-gen generated build.properties
> ------------------------------------------------------------------
>
>                 Key: JBSEAM-2538
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2538
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.0.1.CR2
>            Reporter: Shane Bryzak
>         Assigned To: Shane Bryzak
>            Priority: Minor
>             Fix For: 2.0.1.GA
>
>
> When entering a path of c:/jboss as the JBoss AS path in seam setup, the generated build.properties ends up containing a path of c:\jboss (backslash instead of a forward slash).

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-