zhangjingl02 / activejdbc

Automatically exported from code.google.com/p/activejdbc
0 stars 0 forks source link

Space in "outputDirectory" #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On Window VISTA, checkout project to "c:\Program Files (x86)\Go 
Agent\pipelines\DBSync2" 
2. mvn package
3. dir "c:\Program%20Files%20(x86)\Go%20Agent\pipelines\DBSync2\target"

What is the expected output? What do you see instead?

"File Not Found" is expected.

What version of the product are you using? On what operating system?
3.1.5GA

Please provide any additional information below.

I worked around by URLDecoding in  "void 
org.javalite.instrumentation.ModelInstrumentation.instrument(CtClass 
modelClass)"

> String out = URLDecoder.decode(getOutputDirectory(modelClass), "utf-8");

Original issue reported on code.google.com by rus...@gmail.com on 3 Apr 2013 at 2:56

GoogleCodeExporter commented 9 years ago
I do not think this is a bug. On Windows you can specify the same directory 
something like this:

c:\Progra~1\Go Agent\pipelines\DBSync2

same goes for "Go Agent", there is an equivalent for this in Windows 

Please see here: http://answers.google.com/answers/threadview/id/522710.html

Original comment by i...@polevoy.org on 4 Apr 2013 at 5:45