spring-beandoc-user Mailing List for Spring BeanDoc
Status: Beta
Brought to you by:
davison
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(2) |
Dec
|
From: Darren D. <da...@da...> - 2009-11-22 22:07:30
|
On Sat, Nov 21, 2009 at 07:45:32PM +0300, Marat Radchenko wrote: > Please, deploy 0.9.0 in maven repo, for some reason i get: > [INFO] Error deploying artifact: Exit code: 1 - mkdir: cannot create directory > `/home/groups/s/sp/spring-beandoc/repo/org/springframework/beandoc/ > spring-beandoc/0.9.0': Permission denied you mean people are still using this? It's done.. I also chmod g+w for the repo in case you need to make further changes. Cheers! -- Darren Davison Public Key: 0xE855B3EA |
From: Marat R. <slo...@gm...> - 2009-11-21 16:45:47
|
Please, deploy 0.9.0 in maven repo, for some reason i get: [INFO] Error deploying artifact: Exit code: 1 - mkdir: cannot create directory `/home/groups/s/sp/spring-beandoc/repo/org/springframework/beandoc/spring-beandoc/0.9.0': Permission denied |
From: Jan T. <jan...@co...> - 2009-09-23 14:38:14
|
Hi Nestor, there are some missing libs in the lib directoy of your extracted beandoc zip. Just copy the libraries: spring-tx.jar and spring-aop.jar from the springframework.zip (http://www.springsource.com/download/community) into your lib directory that should solve the problem. Regards, Jan On Mo, 2009-09-21 at 09:36 +0200, Nestor Tarin Burriel - nes...@gm... wrote: > Hi All, > > I'm testing BeanDoc and I'm getting this exception when trying to run > the jpetstore sample: > > $./bin/run.sh samples/jpetstore-beandoc.properties > > Unable to run beandoc tool; > org.springframework.beandoc.BeanDocException: Unable to parse or > validate input resource [applicationContext.xml] > at > org.springframework.beandoc.DefaultContextProcessor.buildDomsFromInputFiles(DefaultContextProcessor.java:304) > at > org.springframework.beandoc.DefaultContextProcessor.process(DefaultContextProcessor.java:198) > at > org.springframework.beandoc.client.BeanDocClient.main(BeanDocClient.java:177) > Caused by: > org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop] > Offending resource: file > [/home/nestor/Software/spring-beandoc-0.9.0/samples/jpetstore/applicationContext.xml] > [...] |
From: Nestor T. B. <nes...@gm...> - 2009-09-21 07:36:24
|
Hi All, I'm testing BeanDoc and I'm getting this exception when trying to run the jpetstore sample: $./bin/run.sh samples/jpetstore-beandoc.properties Unable to run beandoc tool; org.springframework.beandoc.BeanDocException: Unable to parse or validate input resource [applicationContext.xml] at org.springframework.beandoc.DefaultContextProcessor.buildDomsFromInputFiles(DefaultContextProcessor.java:304) at org.springframework.beandoc.DefaultContextProcessor.process(DefaultContextProcessor.java:198) at org.springframework.beandoc.client.BeanDocClient.main(BeanDocClient.java:177) Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop] Offending resource: file [/home/nestor/Software/spring-beandoc-0.9.0/samples/jpetstore/applicationContext.xml] at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85) at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:281) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1252) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1245) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) at org.springframework.beandoc.DefaultContextProcessor$MyXmlBeanDefinitionReader.registerBeanDefinitions(DefaultContextProcessor.java:1146) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beandoc.DefaultContextProcessor.buildDomDocument(DefaultContextProcessor.java:355) at org.springframework.beandoc.DefaultContextProcessor.buildDomsFromInputFiles(DefaultContextProcessor.java:297) ... 2 more If I try to run the ant task I get: jpetstore: _beandoc: [echo] Building jpetstore samples... [mkdir] Created dir: /home/nestor/Software/spring-beandoc-0.9.0/samples/output/jpetstore [beandoc] 21-sep-2009 9:31:36 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions [beandoc] INFO: Loading XML bean definitions from class path resource [org/springframework/beandoc/client/beandoc.xml] BUILD FAILED /home/nestor/Software/spring-beandoc-0.9.0/samples/build.xml:20: The following error occurred while executing this line: /home/nestor/Software/spring-beandoc-0.9.0/samples/build.xml:51: java.lang.VerifyError: (class: org/springframework/beandoc/DefaultContextProcessor, method: markupBeanReferences signature: (Ljava/util/Iterator;)V) Incompatible object argument for function call I'm using JDK 6, is beanDoc compatible with this JDK? Thanks, Nestor |
From: Darren D. <da...@da...> - 2009-04-22 20:14:24
|
On Wed, Apr 22, 2009 at 12:59:03PM -0400, Schmidt, Ginny wrote: > My situation is that I need Webflow 2.0 xml files to work in BeanDoc and the > error is ?Unable to parse or validate input resource? for any file I try with > Webflow 2.0 are you able to post a small sample of a file that doesn't work for you? Cheers, -- Darren Davison Public Key: 0xE855B3EA |
From: Schmidt, G. <sch...@ba...> - 2009-04-22 17:11:12
|
I used BeanDoc 0.9.0 and could not get it to work. So I went to 0.8.1 and it worked fine. My situation is that I need Webflow 2.0 xml files to work in BeanDoc and the error is "Unable to parse or validate input resource" for any file I try with Webflow 2.0 Is this not supported currently? Thanks, Ginny |
From: Darren D. <da...@da...> - 2008-11-20 20:07:53
|
On Thu, Nov 20, 2008 at 11:43:01AM -0500, Edelson, Justin wrote: > The returned page says this was done on 10/23 and that you can override > with .htaccess ah, ok. I wasn't seeing that page when I looked earlier - I was getting a 403 page from a local squid cache on my network instead. The .htaccess is there now, seems to be working ok. Cheers, -- Darren Davison Public Key: 0xE855B3EA |
From: Edelson, J. <Jus...@mt...> - 2008-11-20 16:44:13
|
Darren Davison wrote: > On Wed, Nov 19, 2008 at 10:40:33PM -0500, Edelson, Justin wrote: > > Hitting [1]http://spring-beandoc.sourceforge.net/repo/ give me a 403 > > error, I suspect because directory indexes have been turned off. > > hmm.. I'm pretty sure this used to work, so it looks like yet another > global restriction put in place by sourceforge. > > Anyone know if this can be overridden with .htaccess files (assuming > they've even allowed the use of .htaccess)? The returned page says this was done on 10/23 and that you can override with .htaccess Justin |
From: Darren D. <da...@da...> - 2008-11-20 09:04:28
|
On Wed, Nov 19, 2008 at 10:40:33PM -0500, Edelson, Justin wrote: > Hitting [1]http://spring-beandoc.sourceforge.net/repo/ give me a 403 > error, I suspect because directory indexes have been turned off. hmm.. I'm pretty sure this used to work, so it looks like yet another global restriction put in place by sourceforge. Anyone know if this can be overridden with .htaccess files (assuming they've even allowed the use of .htaccess)? Failing that, we'll have to put a php script in there that does it, which seems very silly. Cheers, -- Darren Davison Public Key: 0xE855B3EA |
From: Edelson, J. <Jus...@mt...> - 2008-11-20 03:40:35
|
Hitting http://spring-beandoc.sourceforge.net/repo/ give me a 403 error, I suspect because directory indexes have been turned off. Thanks, Justin |
From: Hans-Peter S. <Han...@t-...> - 2008-10-16 14:24:04
|
Hi! Thanks for the development of spring-beandoc! This is a very valuable tool for the spring developer. Just two suggestions. First, accessing spring configurations via the classpath: does not seem to work, since spring-beandoc often tries to use the File for the Resources - which does not exist, of course. Exceptions like java.io.FileNotFoundException: class path resource [meldung.xml] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/D:/WITA/source/eai/blw/wita-eai-blw-meldung/target/wita-eai-blw-meldung-1.100.5.0.jar!/meldung.xml do result. It works in the junit-tests, since the classpath: resources are included as class folder, but it does not work when the resources are included as a jar. Second, it would be nice to extract the spring-configuration from a WAR / EAR-File. This would require accessing the jar files within the WAR / EAR. This is rather low priority, though, since it is not too difficult to unpack it by hand. Currently with the classpath: bug you have to unpack the war *and* then unpack the individual jars... Ouch! Thank you! Best regards, Hans-Peter Störr |
From: ramesh p. <ram...@ya...> - 2008-04-30 14:49:47
|
Hi I'm getting and ecxeption when i run springdoc with ant task for my project. i have kept all the xml files in config directory and defined the ant task like this.. <path id="beandoc-classpath"> <fileset dir="${beandoc.lib}"> <include name="**/*.jar"/> </fileset> <dirset dir="${src.dir}"/> </path> <!-- define the task --> <taskdef name="beandoc" classname="org.springframework.beandoc.client.AntTask" classpathref="beandoc-classpath"/> <target name="beandoc"> <mkdir dir="${output.dir}"/> <beandoc outputDir="${output.dir}" beandocProps="${basedir}/drlm/src/config/beandoc.properties"> <fileset dir="${basedir}/drlm/src/config"> <include name="*.xml"/> <include name="*.properties"/> </fileset> </beandoc> </target> and my beandoc.properties file is as below. input.files=C:/development/drlm-dev/DRLM/drlm/src/config/*.xml output.dir=C:\development\drlm-dev\DRLM\drlm\src\config/beandoc/ compiler.dotExe=C:/Program Files/Graphviz2.18/bin/dot.exe can any one help me what is wrong with this? Thanks in advance -ramesh ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: <spr...@sp...> - 2008-04-18 17:59:59
|
Hi Gregor, thank you your fixing the run script, I think we will integrate this fix into the next Beandoc release which is comming soon. regards, Jan -- Jan Tietjens Software Engineer spr...@sp... CoreMedia Ludwig-Erhard-Str. 18 20459 Hamburg, Germany <www.coremedia.com> CoreMedia AG Executive Board: Sören Stamer (CEO), Dr. Klemens Kleiminger (CFO) Supervisory Board: Prof. Dr. Joachim Schmidt (Chairman) Trade Register: Amtsgericht Hamburg, HR B 76277 > I fixed the batch-script sothat it works here under WindowsXP SP2. > The problem was that delayed environment variable expansion has to be > enabled, or else the line which sets the classpath-variable CP does not > work as intended (see comments in the batch-file and this link: > http://www.robvanderwoude.com/allhelp.html#SET > section that starts with "finally, delayed environment variable expansion > has been added.." > > Looks like a very nice Spring-plugin, thanks for doing this! > > HTH, > Gregor > PS: attached as txt because my company's proxy blocks BATs... > ________________________________ > > Gregor Rosenauer > IT-Services der Sozialversicherung GmbH > Softwareentwicklung > Schiffamtsgasse 15 > A-1020 Wien > T: +43 (0) 50124 844 3231 > M: +43 (0) 664 844 3231 > gre...@it... | www.itsv.at |
From: Rosenauer G. <gre...@it...> - 2008-04-15 13:19:55
|
I fixed the batch-script sothat it works here under WindowsXP SP2. The problem was that delayed environment variable expansion has to be enabled, or else the line which sets the classpath-variable CP does not work as intended (see comments in the batch-file and this link: http://www.robvanderwoude.com/allhelp.html#SET section that starts with "finally, delayed environment variable expansion has been added.." Looks like a very nice Spring-plugin, thanks for doing this! HTH, Gregor PS: attached as txt because my company's proxy blocks BATs... ________________________________ Gregor Rosenauer IT-Services der Sozialversicherung GmbH Softwareentwicklung Schiffamtsgasse 15 A-1020 Wien T: +43 (0) 50124 844 3231 M: +43 (0) 664 844 3231 gre...@it... | www.itsv.at |
From: Darren D. <da...@da...> - 2007-11-06 00:54:13
|
I'll be releasing an 0.8.1 shortly. A fairly major *&@$ up in the doc.xsl means properties and dependencies are not being output in the HTML. Probably I misapplied one of those patches, but how the hell I missed this before releasing 0.8 is beyond me :( D. --=20 Darren Davison Public Key: 0xE855B3EA |