1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package nl.toolforge.karma.core.module.template;
20
21 import java.io.File;
22
23 /***
24 * <p>Layout for an other-module. An other-module (implemented by the
25 * {@link nl.toolforge.karma.core.module.OtherModule} class) has no fixed
26 * directory-structure. You are free to choose the structure of your likings.
27 * </p>
28 * <p>
29 * However, Karma will not do anything with the file in these directories. When
30 * packaging, Karma will copy all files as is into an archive.
31 *
32 * @author W.H. Schraal
33 * @version $Id: OtherModuleLayoutTemplate.java,v 1.1 2004/11/10 22:25:11 hippe Exp $
34 */
35 public final class OtherModuleLayoutTemplate extends BaseModuleLayoutTemplate {
36
37
38
39 public FileTemplate[] getFileElements() {
40 return new FileTemplate[] {
41 new FileTemplate(new File("/templates/cvsignore.template"), new File(".cvsignore")),
42 };
43 }
44
45 public String[] getDirectoryElements() {
46 return new String[] { };
47 }
48
49 }