Christian,

 

Thanks for the quick response.  I'm cc-ing the development list so
others can benefit from this exercise. 

 

I think you understand my problem, except I'm not using netbeans to
invoke the converter.  I'm using a command line like you give in the
example wiki. Just to re-iterate. Here's my steps:

 

I build the jar with dep using netbeans. I verified that this jar does
contain Impinj.xsd, llrp-1x0.xsd, and all of the extension classes.
(BTW, your build process is excellent and very straightforward.  I
appreciate the work you have done to make this automated).

 

When I execute the jar from a command line using a classpath of.

 

Java -jar jarfile.jar -x -f myllrppacket.xml

 

It complains that it can't find the two files (it needs Impinj.xsd only
if there is an Impinj extension. It appears to need llrp-1x0.xsd only if
there is an LLRP parameter within an Impinj extension.  If I add these
two files to target/org ... the program runs successfully.

 

Paul

  _____  

From: Christian Floerkemeier [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 17, 2008 10:47 AM
To: Paul Dietrich
Subject: RE: java LTK bugs

 

 

> One minor issue:  I tried to execute this and it needed Impinj.xsd and
llrp-1x0-def.xml to be extracted from the jar file into the path org/...
to work.  

 

Hmm, not sure why this is not working at your end. There is a copy task
in the ant file that copies the Impinj.xsd from the path specified in
the build.xml to org/llrp/ltk/Impinj.xsd where it is loaded as a
resource.I am not sure I understand 100% where the problem occurs in
your setup but it seems that you can correctly build LTKJava with the
Impinj extensions (using ant package) and Impinj.xsdand LLRP.xsd are
found in the org/llrp/ltk package of the jar, but when you invoke
LLRPConverter in Netbeans with the corresponding command line arguments
it complains about a missing schema. Is that correct? 

 

   - Christian

 

         

        
  _____  


        From: Paul Dietrich [mailto:[EMAIL PROTECTED] 
        Sent: Dienstag, 17. Juni 2008 12:47
        To: Christian Floerkemeier
        Subject: RE: java LTK bugs

        Christian,

         

        Thanks for the fix.  One minor issue:  I tried to execute this
and it needed Impinj.xsd and llrp-1x0-def.xml to be extracted from the
jar file into the path org/... to work.  

         

        Also, the extension messages do now work (if I do the above),
but as you say below, custom extensions within LLRP messages are still
not coming through from XML to binary.  

         

        Paul

         

         

        
  _____  


        From: Christian Floerkemeier [mailto:[EMAIL PROTECTED] 
        Sent: Monday, June 16, 2008 6:35 PM
        To: Paul Dietrich
        Subject: RE: java LTK bugs

         

        Great. Thanks. I haven't been able to determine why your and
Casey's setup requires the logging and mine and Basil's does not. In any
case, I added the dependency to the README and wiki doc.

         

        I resolved the LTK extension issue, but I spotted another bug in
the code that causes problems with extension parameters in LTK-XML
standard LLRP messages. I will ask Basil to fix that issue in the next
few days.

         

            - Christian

                 

                
  _____  


                From: Paul Dietrich [mailto:[EMAIL PROTECTED] 
                Sent: Montag, 16. Juni 2008 13:30
                To: Christian Floerkemeier; Basil Gasser
                Subject: RE: java LTK bugs

                Thanks Christian,

                 

                I put a snapshot of my libraries in the Java Wiki (by
coincidence) as I was writing some docs for java novices like myself.

                 

        
http://llrp-toolkit.wiki.sourceforge.net/Building+LTKJava+in+Netbeans 

                 

                Both Casey and I confirmed that commons logging was
required in our Netbeans development environment.

                 

                
  _____  


                From: Christian Floerkemeier [mailto:[EMAIL PROTECTED] 
                Sent: Monday, June 16, 2008 10:18 AM
                To: Paul Dietrich; 'Basil Gasser'
                Subject: RE: java LTK bugs

                 

                Thanks. I fixed the extension path issue in
generator.properties. I am currently not using the commons logging API
in my setup. I suspect that I am using slightly different versions of
some of the other libraries. Can you send me a directory listing of the
lib directory so I can see the versions you are using? I will add the
commons logging anyway.

                 

                Will look at the command line tool issue this evening.

                    - Christian

                 

                         

                        
  _____  


                        From: Paul Dietrich
[mailto:[EMAIL PROTECTED] 
                        Sent: Montag, 16. Juni 2008 12:43
                        To: Christian Floerkemeier; Basil Gasser
                        Subject: java LTK bugs

                        FYI. I filed three new bugs in tracker. Two are
minor dealing with dependencies and some extra stuff in the build
scripts. 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to