On Tue, Sep 29, 2009 at 3:38 PM, stuffins <stuff...@gmail.com> wrote:
>
> Hi There,
>
> Our project is inserting some sample data into the database for a file path.
> Example: C:\backup\myBackUp.  It seems as though its escaping the \'s during
> this process so it comes out C:\\...

You might try using a relative path instead of an absolute one. If
that's not an option, try using forward slashes (/). Using double
backslashes is required in Java since backslash is an escape
character.

http://wiki.answers.com/Q/What_is_an_escape_character_in_Java

>
> The we are also setting this data in a POM.xml variable that gets injected
> into the sample-data.xml.  Does anyone know at what stage this might be
> happening, or how to stop it from having?

You should be able to exclude it from getting processed. See the
resources/testResources part of your pom.xml.

http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html

Matt

>
> Thanks,
> -Chris
> --
> View this message in context: 
> http://www.nabble.com/sample-data-escaping-characters--tp25672140s2369p25672140.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to