Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Bug report... FileTools.java

Are you on HEAD or the 3.0 branch? Have you updated from CVS?

Regards,
Greg

On Apr 12, 2010, at 11:59 AM, Steven R. Brandt wrote:

If I take "stat" out of my path, I seem to get the same errors.

If I look inside FileTools.java, I still see this code:

        String statCmd;
        if (checkOSName("Darwin")) { //$NON-NLS-1$
            statCmd = "stat -f \"0%p %z %u %g %m %a\" " + quotedPath + " 2>&1"; //$NON-NLS-1$ //$NON-NLS-2$
        } else {
            // Assume linux
            statCmd = "stat --format \"0x%f %s %u %g %X %Y\" " + quotedPath + " 2>&1"; //$NON-NLS-1$ //$NON-NLS-2$
        }

Cheers,
Steve

On 04/12/2010 07:29 AM, Greg Watson wrote:
This has now been committed to HEAD if you want to try again.

Greg

On Apr 6, 2010, at 10:42 AM, Roland Schulz wrote:



On Tue, Apr 6, 2010 at 10:04 AM, Steven R. Brandt <sbrandt@xxxxxxxxxxx> wrote:
I thought I had the latest release of everything. I'm still not certain whether I do.

Is this the bug id? https://bugs.eclipse.org/bugs/show_bug.cgi?id=300889
yes 
It looks like it is assigned and not yet released. Is that correct?
yes. There as still some IP issues to clarify before it can be released. But if you want to try it out you can download the attachment and apply the patch to your CVS version.

Roland

Cheers,
Steve


On 04/05/2010 09:05 PM, Roland Schulz wrote:
Hi,

we have rewritten RemoteTools to not need stat anymore and instead use sftp. See bugid 300889.

Roland


On Mon, Apr 5, 2010 at 6:17 PM, Steven R. Brandt <sbrandt@xxxxxxxxxxx> wrote:
Finally, I was able to compile and run the PTP plugins. This was the first step of what I wanted to achieve.

Next I tried to create a Resource Manager for our IBM machine using "Remote Tools" and port forwarding. I discovered that the reason I was unable to do it was because the command "stat" was not in my path. I located the command on our machine and modified my path so that it was in there, and can now create resource managers.

What I would suggest is that an error message be added to FileTools.java that shows the value of statCmd just before manager.executionTools.executeWithOutput() is called--or maybe train it to produce something to stderr say "stat not found."

Cheers,
Steve
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user




--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ptp-user

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top