Skip to content

Commit

Permalink
Track empty directories with a tricky .cvsignore file @1.7
Browse files Browse the repository at this point in the history
--HG--
branch : create-plugin
  • Loading branch information
adamschmideg committed Feb 10, 2012
1 parent c032658 commit 4f9129d
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 5 deletions.
15 changes: 15 additions & 0 deletions bin/create_empty_dirs.sh
@@ -0,0 +1,15 @@
#!/bin/sh

mkdir -p csep/src-gen
mkdir -p csep/xtend-gen
mkdir -p csep.tests/src-gen
mkdir -p csep.tests/xtend-gen
mkdir -p csep.ui/src-gen
mkdir -p csep.ui/xtend-gen

mkdir -p csep.example.cake/src-gen
mkdir -p csep.example.cake/xtend-gen
mkdir -p csep.example.cake.tests/src-gen
mkdir -p csep.example.cake.tests/xtend-gen
mkdir -p csep.example.cake.ui/src-gen
mkdir -p csep.example.cake.ui/xtend-gen
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added csep.tests/src-gen/.cvsignore
Empty file.
1 change: 0 additions & 1 deletion csep.tests/src-gen/dummy.txt

This file was deleted.

Empty file added csep.tests/xtend-gen/.cvsignore
Empty file.
1 change: 0 additions & 1 deletion csep.tests/xtend-gen/.dummy

This file was deleted.

Empty file added csep.ui/src-gen/.cvsignore
Empty file.
1 change: 0 additions & 1 deletion csep.ui/src-gen/dummy.txt

This file was deleted.

Empty file added csep.ui/xtend-gen/.cvsignore
Empty file.
Empty file added csep/src-gen/.cvsignore
Empty file.
1 change: 0 additions & 1 deletion csep/src-gen/dummy.txt

This file was deleted.

Empty file added csep/xtend-gen/.cvsignore
Empty file.
1 change: 0 additions & 1 deletion csep/xtend-gen/dummy.txt

This file was deleted.

4 changes: 4 additions & 0 deletions devjournal.md
Expand Up @@ -390,6 +390,10 @@

The `csep.update` directory will be populated with the required artifacts.

* Directories are cleaned by `org.eclipse.emf.mwe.utils.DirectoryCleaner` before generating source.
The cleaner ignores `.csvignore` files by default, so I put such files into `xxx-gen` folders
as a workaround to have empty directories (not tracked by mercurial).


[1]: http://jevopisdeveloperblog.blogspot.com/2011/03/implement-tostring-with-xtexts.html
[2]: http://www.eclipse.org/Xtext/documentation/2_1_0/100-serialization.php#serializationcontract
Expand Down

0 comments on commit 4f9129d

Please sign in to comment.