whmine / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Cannot specify a subdirectory as the output directory for automatically generated code #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using the integration with protoc, tried to automatically generate the java 
source code in a specific directory: src/main/java

What is the expected output? What do you see instead?
When I tried to configure the output subdirectory - either as 'src/main/java', 
'src\main\java' or 'src\\main\\java' - it showed me the message '/ is an 
invalid character in resource'. I don't see a reason for not allowing that.

What version of the product are you using? On what operating system?
Eclipse Indigo x64 with Maven Integration (m2Eclipse).

Please provide any additional information below.
It's a Maven thing why I have the source folder as 'src/main/java'.

Thank you for the good work!

Original issue reported on code.google.com by ton.ag...@gmail.com on 5 Sep 2011 at 12:08

Attachments:

GoogleCodeExporter commented 8 years ago
question fix next version.
now modify com.google.eclipse.protobuf.Protobuf.prefs file setting out fold pls!

Original comment by liuji...@gmail.com on 5 Sep 2011 at 2:36

GoogleCodeExporter commented 8 years ago
Which key should I set in the prefs file? It looks like this ATM:

#Mon Sep 05 09:20:02 BRT 2011
compiler.javaCodeGenerationEnabled=true
compiler.refreshOutputDirectory=false
compiler.useProtocInCustomPath=true
compiler.useProtocInSystemPath=false
compiler.refreshProject=true
compiler.compileProtoFiles=true
eclipse.preferences.version=1
compiler.protocFilePath=D\:\\Desenvolvimento\\Software\\protoc-2.4.1-win32\\prot
oc
CharacterMatching=true
CharacterMatching.Color=192,192,192

Original comment by ton.ag...@gmail.com on 5 Sep 2011 at 4:12

GoogleCodeExporter commented 8 years ago
compiler.enableProjectSettings=true
compiler.javaOutputDirectory=src/main/java
compiler.protocFilePath=D\:\\dev\\protoc-2.4.1-win32\\protoc.exe

Original comment by liuji...@gmail.com on 6 Sep 2011 at 1:31

GoogleCodeExporter commented 8 years ago
Thank you, it works as expected now. With the resolution of Bug #103 and this 
one, now I can fully enjoy all the features of Protobuf-dt. Thank you for the 
good work. :)

Original comment by ton.ag...@gmail.com on 6 Sep 2011 at 11:46

GoogleCodeExporter commented 8 years ago
This a duplicate of Issue 10. Fix will be part of v1.0.1.

Original comment by alr...@google.com on 8 Sep 2011 at 9:10