(PS:sorry for the mail on devel list, i made a little mistake)
Thanks a lot
Now my loop work correctly and I can know if a file is checked out with :
if (info.isCheckedOut())
{
String user=info.getCheckedOutToUser();
What I would like to do is also check if the file on disk is different (because
someone has checked
in a file)
I try to use CommandCentral.getInstance().hasLocalFileChanged, but the second
argument is a
directory, and I could not find any way to have it from NodeInfo. I could not
find any way of
getting the default archive path locally with guiconf
(getDefaultWorkingDirectory answers null)
Thanks for any help
Robert MacGrogan wrote:
Hi, Riccardo.
I think your problem is that you need to call setOut() on SimpleInterface
before you do anything
else. This is a dumb requirement, I know. There should be a default value, but
this is how it
works now.
For a pretty good example of some code that uses SimpleInterface, take a look
at the code for
sj-eclipse. You can get it from here:
http://sourceforge.net/project/showfiles.php?group_id=89891&package_id=145383
(The code packaged in the release file.)
As for linking the SJ compiled classes up with the source files for easier
debugging, you don't
have to use ant. Just download the source release and use jar to jar un-jar the
sj-server.jar file
and then re-jar it with the source files.
Good luck.
--Rob
--- Riccardo Cohen <[EMAIL PROTECTED]> wrote:
--
Riccardo Cohen
Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
SourceJammer-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-users