[kiuma@kiuma xdocletgui]$ ant configlog4j
Buildfile: build.xml
init:
configlog4j:
[java] source tree #0: ./src/java/xdocletgui
[java] source tree #1: ./src/java/xtags
[java] source tree #2: ../xjavadoc/build/src/xjavadoc
[java] appenderRef #0: STDOUT
[java] config file format: "PROPERTIES"
[java] default config file: "./etc/log4j/log4j.properties"
[java] header input file: "./etc/log4j/header.txt"
[java] trailer input file: "./etc/log4j/trailer.txt"
[java] Exception in thread "main" java.lang.NullPointerException
[java] at de.japhy.tools.configLog4j.DirRecursor.getPathsRec(DirRecursor.java:57)
[java] at de.japhy.tools.configLog4j.DirRecursor.getPaths(DirRecursor.java:42)
[java] at de.japhy.tools.configLog4j.ConfigLog4j.main(ConfigLog4j.java:286)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 6 seconds
[kiuma@kiuma xdocletgui]$ ./run.sh
log4j:ERROR Could not read configuration file from URL [file:/usr/local/src/xdoclet/xdocletgui/etc/log4j/log4j.properties].
java.io.FileNotFoundException: /usr/local/src/xdoclet/xdocletgui/etc/log4j/log4j.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
at java.net.URL.openStream(URL.java:960)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:424)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:456)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)
at org.apache.log4j.Category.getInstance(Category.java:514)
at xdocletgui.swing.Main.<clinit>(Main.java:118)
at xdocletgui.Run.main(Run.java:28)
log4j:ERROR Ignoring configuration file [file:/usr/local/src/xdoclet/xdocletgui/etc/log4j/log4j.properties].
log4j:WARN No appenders could be found for logger (xdocletgui.swing.Splash).
log4j:WARN Please initialize the log4j system properly.
Konstantin Priblouda wrote:
do "ant configlog4j" to generate log4j.properties,
( set everything to debug ) then you will
see what happens...
regards,
=====
Konstantin Priblouda ( ko5tik ) Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
.
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
