Hi Atry -

i am curious to try out your new protobuf plugin.
however i encountered a problem running the plugin,
and also a problem reporting a new issue on the protoc-gen-as3
homepage,
so i'm putting the report here.

best,
Orion

issue report:
----------------------------------------------------------------
What steps will reproduce the problem?
1. download and build the 2.3.1 repo of protoc
2. download and extract protoc-gen-as3-0.8rc2-bin.tar.gz
3. run protoc with the following command line:
/home/orion/sandbox/orion/pb2.3.0/linux/bin/protoc --plugin=protoc-gen-
as3=/home/orion/sandbox/orion/pb2.3.0/protoc-gen-as3/dist/protoc-gen-
as3 --as3_out foo ./xs1.proto
(full paths included in case i'm doing something dumb)

What is the expected output? What do you see instead?
the result is the following error:
-----------------
/home/orion/sandbox/orion/pb2.3.0/protoc-gen-as3/dist/protoc-gen-as3:
program not found or is not executable
--as3_out: protoc-gen-as3: Plugin failed with status code 1.
-----------------

if i remove "-e" from the first line of protoc-gen-as3,
then the error changes to:
-----------------
Exception in thread "main" java.lang.NoClassDefFoundError: com/netease/
protocGenAs3/Main
Caused by: java.lang.ClassNotFoundException:
com.netease.protocGenAs3.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: com/netease/protocGenAs3/Main. Program
will exit.
--as3_out: protoc-gen-as3: Plugin failed with status code 1.
-----------------


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

these results are consistent on OS X (snow leopard) and on a centos
linux box:
Linux version 2.6.18-164.6.1.el5 (mockbu...@builder10.centos.org)



Please provide any additional information below.


-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.


Reply via email to