[ANN] RemoteSynchronizer 1.6

Hi,

Changes:

  • Updated for Idea 8.0 new API (does not work anymore with 7.0)

  • New : option to store relative paths instead of absolute paths

  • New : auto-completion on paths edition

  • New : tables usability improved (double-click on row opens dialog, tooltip with full path)

  • New : excludes **/.svn directories by default

  • New : import/export format has changed, it uses new Idea serialization API

  • Fix : removed Hide button on tool window


RemoteSynchronizer plugin allows you to synchronize files with remote locations. Instead of manually copying files from your project to their runtime location using external tools (command line, file explorer, ...), RemoteSynchronizer launches copies from Idea, using paths customized for project. It is also able to delete obsolete files on remote locations.


/!\ Since intellij.org is closing, documentation has moved to .

Sylvain

11 comments
Comment actions Permalink

Setup the plugin and on my first try to Synch (all open files) it gave me the exception below. Also, I got the red circle of death but Blame was not enabled for whatever reason.

Jon

No message
java.lang.NullPointerException
at org.sylfra.idea.plugins.remotesynchronizer.utils.ConfigPathsManager.getOutputPath(ConfigPathsManager.java:148)
at org.sylfra.idea.plugins.remotesynchronizer.utils.ConfigPathsManager.getClassFilePaths(ConfigPathsManager.java:174)
at org.sylfra.idea.plugins.remotesynchronizer.synchronizing.SynchronizerThread.addPathsToCopy(SynchronizerThread.java:246)
at org.sylfra.idea.plugins.remotesynchronizer.synchronizing.SynchronizerThread.filterFilesToCopy(SynchronizerThread.java:218)
at org.sylfra.idea.plugins.remotesynchronizer.synchronizing.SynchronizerThread.synchronize(SynchronizerThread.java:199)
at org.sylfra.idea.plugins.remotesynchronizer.synchronizing.SynchronizerThread.access$000(SynchronizerThread.java:35)
at org.sylfra.idea.plugins.remotesynchronizer.synchronizing.SynchronizerThread$1$1.run(SynchronizerThread.java:183)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:127)
at org.sylfra.idea.plugins.remotesynchronizer.synchronizing.SynchronizerThread$1.run(SynchronizerThread.java:179)

0
Comment actions Permalink

Hi Sylvain,

Nice plugin. I have a feature request. Can you give an option for saved files that are in path to be automatically copied? This copy would happen with no manual intervention once you setup RemoteSynch appropriately. To support this you can hook into the openapi using FileDocumentManagerListener.beforeDocumentSaving()

Thanks,
Jon

Edited by: Jon Steelman on Oct 1, 2008 3:18 PM

0
Comment actions Permalink

OK, I'll fix this tonight. It seems to be related to a test resource for which I can't find compilation output path.

Thanks for report.

0
Comment actions Permalink

Hi Jon,

Nice idea and easy to implement :) I may incorporate it in next release.

Sylvain

0
Comment actions Permalink

Sylvain,

Super! By next release you mean tonight's bug fix release? :)

Cheers,
Jon

0
Comment actions Permalink

Super! By next release you mean tonight's bug fix release? :)


No. Even if implementation is technically easy, I must think about best way to configure it, to log it... And these days, my very limited development spare time is for a new plugin.
But it's at the top of the todo list :)

Sylvain

0
Comment actions Permalink

I can't reproduce this problem. I can add a preventive check, but I'd like to understand.

Are you able to isolate which module and which file is concerned (by synchronizing some parts of your project, especially source test directories) ?

Thanks

Sylvain

0
Comment actions Permalink

I find it on any file in this Source Folder of the Content Root, dc\src\main\java
It doesn't matter how deep the file is down from there. There are
The only Test Source Folder is dc\src\testng

If I try a file above the Source Folder, even in dc\src\main, then the file synch's fine.
Screen shot of model attached in case helpful.

Thanks,
Jon



Attachment(s):
Sources.PNG
0
Comment actions Permalink

So it fails even for non-test Java classes... I must admit I don't understand why I don't retrieve their output path.

Anyway, I've posted a new release here : http://idea-remotesynchronizer.googlecode.com/files/RemoteSynchronizer-1.6.1_rc1.jar
It only skips files for which output paths are not resolved, tell me if some files in dc/src/[main|test]/java are synchronized or all are ignored.

If your project configuration is not confidential, could you provide me IPR and IML files ?

Thanks

0
Comment actions Permalink

Correct email address is syllant@gmail.com?

0
Comment actions Permalink

Got it :) Your compilation output path was outside from project, I have a regression in 1.6 release for this point.

I'll post 1.6.1 fix release tonight.

Thanks again for provided details

Sylvain

0

Please sign in to leave a comment.