RE: Classpath Analysis Tool
Hi, I've been involved in the construction of a similar tool whose goal was to check if some classes were missing from the classpath. This was working by analyzing static dependencies from class bytecode. This is particularly interesting for software that need to go through an obfuscation phase, which can easily lead to classes being missing. If this can be of interest to the community I can try to have it made publicly available. Regards, Guillaume. -Message d'origine- De : burtonator [mailto:[EMAIL PROTECTED]] Envoye : jeudi 14 juin 2001 03:22 A : [EMAIL PROTECTED] Objet : Re: Classpath Analysis Tool -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason Stell [EMAIL PROTECTED] writes: I ran across this posting at JavaLobby : [1]http://www.javalobby.org/discussion/showThreaded?folderId=20discus sionId=10621 It introduces a classpath analysis tool created by Karsten Lentzsch. Classpath problems are typically difficult to debug, especially for large projects that use many 3rd party libraries. It might be nice to integrate a tool like this into JDE... Or maybe there's a more efficient way to do this kind of analysis, since JDE uses BeanShell to maintain a collection of class meta-data. Thoughts? jPathReport is Web Startable ad- and nag-free uncrippled no-charge binary software that never expires. No way will this ever get incorporated into the JDE because of my licensing condition. I would suggest checking out my classman tool. http://relativity.yi.org/classman Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 And the beast shall be made legion. Its numbers shall be increased a thousand thousand fold. The din of a million keyboards like unto a great storm shall cover the earth, and the followers of Mammon shall tremble. - from The Book of Mozilla, 3:31 (Red Letter Edition) -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE7KBG6AwM6xb2dfE0RAsgaAJ9tdQMTf9RByTDec+HUW3cExyGNhwCeOuoN YNkbnaMvnSLG8dX8IZvPZvo= =WkBh -END PGP SIGNATURE-
restarting Tomcat with Ant using JDE
I am having a problem with ant, emacs and cygwin. I'm trying to restart tomcat as a part of my build process, but after tomcat is restarted, it doesn't return control to ant, and in turn emacs. Here are more details: I have my build.xml file restarting tomcat with this target: target name=tomcat depends=compile exec dir=${src} executable=c:/cygwin/bin/bash.exe arg line=c:/service/tomcat/bin/restart.ksh/ /exec /target However, my restart.ksh script, which only consists of two commands (shutdown.bat and startup.bat), hangs after it invokes startup.bat. Here is the compilation buffer: cd c:/itsv3/Web-inf/classes/prj.el ant -Dc:/itsv3/Web-inf/classes/SetSymbolList.java-buildfile build.xml tomcat -Demacs=true Buildfile: build.xml compile: [javac] Compiling 1 source file to C:\itsv3\Web-inf\classes tomcat: [exec] Including all jars in c:\service\tomcat\lib in your CLASSPATH. [exec] [exec] Using CLASSPATH: c:\service\tomcat\classes;c:\service\tomcat\lib\ant.jar;c:\service\tomcat\lib\jasper.jar;c:\service\tomcat\lib\jaxp.jar;c:\service\tomcat\lib\parser.jar;c:\service\tomcat\lib\servlet.jar;c:\service\tomcat\lib\webserver.jar [exec] [exec] Stop tomcat [exec] Including all jars in c:\service\tomcat\lib in your CLASSPATH. [exec] [exec] Using CLASSPATH: c:\service\tomcat\classes;c:\service\tomcat\lib\ant.jar;c:\service\tomcat\lib\jasper.jar;c:\service\tomcat\lib\jaxp.jar;c:\service\tomcat\lib\parser.jar;c:\service\tomcat\lib\servlet.jar;c:\service\tomcat\lib\webserver.jar [exec] [exec] Starting Tomcat in new window * ... here it is waiting for me to close the new window that Tomcat started. After I shutdown ant, then this will appear: * [exec] Result: 1 BUILD SUCCESSFUL Total time: 8 minutes 16 seconds Compilation exited abnormally with code 131072 at Mon Jun 25 15:23:52 What can I change so that after startup.bat is invoked, it returns control to ant and then in turn to emacs? thanks in advance Max
History list jde-interactive-make-arg-history is unbound
When I enable jde-project - Read Make Args or jde-project - Ant Read Args or jde-project - Ant Read Target, I get errors like the one the subject `History list jde-interactive-make-arg-history is unbound' This is with Xemacs, solaris, jde 2.2.8beta1. Any ideas? Eric
Re: Watches in JDEBug
At 06:36 PM 6/23/2001 -0500, Molitor, Stephen wrote: What's the best way to keep a watch of a variable or object in JDEBug? After expanding one of the local variables to the level I want, it collaspes again when I step to the next line. I'd either like to keep the variable tree expanded, or set up a watch. (Actually, both features would be nice). Keeping the tree expanded from step to step is a relatively difficult programming problem and has the potential of greatly slowing down stepping. The JDE fetches the top-level values of the local variables at each time step. The JDE defers fetch the values of fields until you expand the field. Doing what you ask would require that the JDE keep for each local variable a record of the expanded state of its fields, including the states of children. If you expand the fields, the JDE would have to fetch the values of all the expanded fields. This could be very time-consuming. As for watching a variable, there is a watch command on the JDE menu. It allows you to watch for access or modification of fields of objects. I don't think JPDA provides a means of monitoring local variables. - Paul Sorry if this is a RTFM question, but I couldn't find the answer in the JDEBug User's Guide. Steve Molitor [EMAIL PROTECTED]
Re: History list jde-interactive-make-arg-history is unbound
At 01:34 PM 6/25/2001 -0700, you wrote: When I enable jde-project - Read Make Args or jde-project - Ant Read Args or jde-project - Ant Read Target, I get errors like the one the subject `History list jde-interactive-make-arg-history is unbound' This is with Xemacs, solaris, jde 2.2.8beta1. Any ideas? Sounds like a bug. I'll look into it. - Paul Eric
Re: JDE load time
--- Scott Goldstein [EMAIL PROTECTED] wrote: One large reason why I use Emacs is that it's lightweight and fast. Of all the things I've heard Emacs accused of, lightweight has never been one of them!! Doesn't Emacs stand for Eight Megs And Continuously Swapping? = - Mr Lauren Commons A person of moderate zeal __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: restarting Tomcat with Ant using JDE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Gravitt [EMAIL PROTECTED] writes: snip What can I change so that after startup.bat is invoked, it returns control to ant and then in turn to emacs? I assume you want to just compile and have Tomcat started in the background??? Since I see you using startup.bat I will assume you are running Windows. Since cmd.exe doesn't have job control like a Real Operating System (TM), you have to trick it with a start command first: start startup.bat I believe that this should bring up another command prompt and ant will return. The only reason I know this is because I helped some Windows guys port Java code I wrote under Linux to Windows. Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 2600 Magazine says Ford sucks: http://www.fordreallysucks.com/more_info.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE7N8XOAwM6xb2dfE0RApNYAKCz1zEaQSqs75Tzn/1w53FoPcNeTgCeN6qH mLYfvcdAogijvVmwLFbTNQc= =g4XD -END PGP SIGNATURE-
RE: restarting Tomcat with Ant using JDE
I have the following deploy target it my build file which I run with: ant.bat -emacs -find build.xml deploy It works but I do get a warning that a compilation is already running when I try to use compile the next time. :-) target name=deploy depends=war description=deploys the war file exec executable=cmd dir=${tomcat.dir}/bin os=Windows NT arg line= /c shutdown.bat / /exec exec executable=cmd dir=${tomcat.dir}/bin os=Windows 2000 arg line= /c shutdown.bat / /exec delete dir=${tomcat.dir}/webapps/${app} / copy file=${app.war} todir=${tomcat.dir}/webapps / exec executable=cmd dir=${tomcat.dir}/bin os=Windows NT arg line=/c startup.bat / /exec exec executable=cmd dir=${tomcat.dir}/bin os=Windows 2000 arg line=/c startup.bat / /exec /target -Original Message- From: burtonator [mailto:[EMAIL PROTECTED]] Sent: den 26 juni 2001 01:14 To: [EMAIL PROTECTED] Subject: Re: restarting Tomcat with Ant using JDE -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Gravitt [EMAIL PROTECTED] writes: snip What can I change so that after startup.bat is invoked, it returns control to ant and then in turn to emacs? I assume you want to just compile and have Tomcat started in the background??? Since I see you using startup.bat I will assume you are running Windows. Since cmd.exe doesn't have job control like a Real Operating System (TM), you have to trick it with a start command first: start startup.bat I believe that this should bring up another command prompt and ant will return. The only reason I know this is because I helped some Windows guys port Java code I wrote under Linux to Windows. Kevin - -- Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ) Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 2600 Magazine says Ford sucks: http://www.fordreallysucks.com/more_info.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt iD8DBQE7N8XOAwM6xb2dfE0RApNYAKCz1zEaQSqs75Tzn/1w53FoPcNeTgCeN6qH mLYfvcdAogijvVmwLFbTNQc= =g4XD -END PGP SIGNATURE-