Re: [Digester] Problem with XML rule definiton.

2005-03-31 Thread Silas Snider
I was using Eclipse as the development enviroment, so that could be 
doing it, but I have done reflection with it before, and it worked both 
in the jar file and the environment.

Sincerely,
Silas Snider
Reid Pinchback wrote:
It sounds like one of two things:
1) in the jar'd configuration something is missing from the classpath
2) in the jar'd configuration you aren't using the same type of
  classloaders as you are in the non-jar'd configuration
  (e.g. not just jar vs non-jar, but jar-in-webapp vs
  unjarred-standalone-app).
--- Silas Snider [EMAIL PROTECTED] wrote:
 

Dear List:
   I am having problems with Digester. I am using it to parse the XML
returned by Amazon's Web Services.
   


		
__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[Digester] Problem with XML rule definiton.

2005-03-30 Thread Silas Snider
Dear List:
I am having problems with Digester. I am using it to parse the XML
returned by Amazon's Web Services. My problem occurs when I create a .jar
out of my java program. I am passing the XML rules to DigesterLoader as a
stream from the getClass().getResourceAsStream(resource file name) method,
and digester likes the rules file. When it actually tries to parse the XML,
it chokes on a object creation rule saying that it can't find the class
named in the rule. However, when I am running it outside of .jar, it works
fine, and the class is included in the .jar (I checked with 7-zip). I have
solved the problem by defining rule programmatically, but, for obvious
reasons, would like to have them defined in a seperate file. Does anyone
have suggestions as to what I might be doing wrong?
 
Sincerely,
Silas Snider


Re: [Digester] Problem with XML rule definiton.

2005-03-30 Thread Reid Pinchback

It sounds like one of two things:
1) in the jar'd configuration something is missing from the classpath
2) in the jar'd configuration you aren't using the same type of
   classloaders as you are in the non-jar'd configuration
   (e.g. not just jar vs non-jar, but jar-in-webapp vs
   unjarred-standalone-app).

--- Silas Snider [EMAIL PROTECTED] wrote:
 Dear List:
 I am having problems with Digester. I am using it to parse the XML
 returned by Amazon's Web Services.




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]