iloveeclipse / filesync4eclipse

File synchronization plugin for Eclipse
https://github.com/iloveeclipse/plugins/wiki
Eclipse Public License 1.0
6 stars 3 forks source link

Add remove work directory #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I use Eclipse Tomcat plug-in develops Web applications
2. If I change the JSP source code, then will be delete the work directory in 
the root directory of my project, and change others, such as HTML, CSS file
3. Click File Synchronization

I hope add this feature to clean up the work directory, thanks

Original issue reported on code.google.com by xavierzh...@gmail.com on 13 Nov 2012 at 9:41

GoogleCodeExporter commented 9 years ago
Issue 35 has been merged into this issue.

Original comment by iloveeclipse on 13 Nov 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Sorry, I can't get the point of the enhancement.
Which directory should be deleted??? Before or after synchronization? 
May be a small example could help?

Regards,
Andrey

Original comment by iloveeclipse on 13 Nov 2012 at 9:01

GoogleCodeExporter commented 9 years ago
Sorry, a directory named 'work' that stores compiled JSP files.

The following is the structure of my project:

drwxrwxr-x 7 xavierzhao xavierzhao  4096 Nov 14 18:06 ./
drwxrwxr-x 4 xavierzhao xavierzhao  4096 Oct 31 16:48 ../
-rw-rw-r-- 1 xavierzhao xavierzhao   311 Sep 29 09:01 .checkstyle
-rw-rw-r-- 1 xavierzhao xavierzhao  6087 Sep 14 13:30 checkstyle.xml
-rw-rw-r-- 1 xavierzhao xavierzhao   723 Nov  6 15:18 .classpath
-rw-rw-r-- 1 xavierzhao xavierzhao 17307 Nov 14 17:19 pom.xml
-rw-rw-r-- 1 xavierzhao xavierzhao   728 Nov 13 15:20 .project
-rw-rw-r-- 1 xavierzhao xavierzhao  2011 Sep 29 14:20 readme.txt
drwxrwxr-x 2 xavierzhao xavierzhao  4096 Nov 13 15:21 .settings/
drwxrwxr-x 5 xavierzhao xavierzhao  4096 Sep 14 13:29 src/
drwxrwxr-x 6 xavierzhao xavierzhao  4096 Nov 14 18:06 .svn/
-rwxrwxr-x 1 xavierzhao xavierzhao    85 Sep 14 13:30 .svnignore*
drwxrwxr-x 7 xavierzhao xavierzhao  4096 Nov 14 18:04 target/
-rw-rw-r-- 1 xavierzhao xavierzhao   360 Sep 14 15:13 .tomcatplugin
drwxrwxr-x 3 xavierzhao xavierzhao  4096 Nov 14 18:07 work/

I hope removed 'work' directory after click File Synchronization

Original comment by xavierzh...@gmail.com on 15 Nov 2012 at 6:44

GoogleCodeExporter commented 9 years ago
Thanks for the directory layout, but I still have no clue what you are talking 
about. 

What is the expected work flow and how a "delete" operation fits to the *file 
synchronization* task, which is the main point of FileSync. BTW in the 
"automatic" mode FileSync synchronizes on each file change - so do you really 
want delete the /work directory each time for each and every file change in 
your project?

Can it be, that you are looking for a deployment tool (or set of scripts doing 
that)?

Original comment by iloveeclipse on 16 Nov 2012 at 8:47