DO NOT REPLY [Bug 30631] - Need a way to get process-id for exec.. task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30631 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-12-02 17:22 --- *** Bug 32488 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30631] - Need a way to get process-id for exec.. task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30631 [EMAIL PROTECTED] changed: What|Removed |Added OS/Version||All --- Additional Comments From [EMAIL PROTECTED] 2004-12-02 20:01 --- By the way: the 'jps' command included in JDK 5.0 can be valuable for finding the pid of a running Java process (or whatever the unique ID is on your OS). Take a look at some of the JDK 5.0 monitoring management stuff. Still no way to get a PID back from a Process created by Runtime.exec however (unless you are willing to use reflection and bypass the Java APIs). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30631] - Need a way to get process-id for exec.. task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30631 Need a way to get process-id for exec.. task [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2004-08-13 09:10 --- you have to remember that Ant is a build tool, not a generic process-execution-workflow language. It often gets used as the latter, but it is not its strength. futhermore, there is no notion of processID in java processes; that is an OS-specific abstraction that is hidden from us unworthy developers :) So we cannot get a process ID, or implement a kill in a cross platform manner. Can I point you at the smartfrog deployment framework ( http://smartfrog.org/ ) which is designed to manage long running processes with secure remote deploy/undeploy/health checks. There is a new release due by the end of the month, with ant tasks included. It avoids the processID problem by having a daemon running continually to remember what was deployed, the same program that responds to local/remote deploy/undeploy requests. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30631] - Need a way to get process-id for exec.. task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30631 Need a way to get process-id for exec.. task --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 19:23 --- You do not have to use built-in tasks any more. With scriptdef you can create your own task that will do whatever you want. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30631] - Need a way to get process-id for exec.. task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30631 Need a way to get process-id for exec.. task --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 19:36 --- I respect your opinion. I am using ant because it save me time to do fundamental tasks which might otherwise require manual coding. I have to write my own task, and include it and stuff, it would be easier to write a C++ program to get a process info. [I have looked on the internet and there is no solution to stop a process create in jave (after a substantial wait period). So was hoping ant could provide this to me, so that i can have everthing in one place. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30631] - Need a way to get process-id for exec.. task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30631 Need a way to get process-id for exec.. task --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 19:41 --- Many languages have better support for OS processes than Java. I would suggest looking at perl's Win32 job support (if you are using Windows). If you decide to write something please share it with people. I will need to have something like that too. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]