View Javadoc

1   /*
2    *                Doelan development code
3    *
4    * This code may be freely distributed and modified under the
5    * terms of the GNU General Public Licence.  This should
6    * be distributed with the code. If you do not have a copy,
7    * see:
8    *
9    *      http://www.gnu.org/copyleft/gpl.txt
10   *
11   * Copyright (c) 2004-2005 ENS Microarray Platform
12   * Copyright for this code is held jointly by the individual
13   * authors.  These should be listed in @author doc comments.
14   *
15   * For more information on the Doelan project and its aims,
16   * or to join the Doelan mailing list, visit the home page
17   * at:
18   *
19   *      http://www.transcriptome.ens.fr/doelan
20   */
21  
22  package fr.ens.transcriptome.doelan;
23  
24  import java.util.Properties;
25  
26  /***
27   * This class allow to launch Doelan within Eclipse
28   * @author Laurent Jourdren
29   */
30  public final class EclipseApp {
31  
32    /***
33     * Main method.
34     * @param args arguments of the main method
35     */
36    public static void main(final String[] args) {
37  
38      String name = EclipseApp.class.getName().substring(
39          EclipseApp.class.getPackage().getName().length() + 1);
40  
41      System.out.println(name);
42  
43      Properties properties = new Properties();
44      properties.setProperty("nividic.conf.dir", System
45          .getProperty("java.io.tmpdir"));
46      properties.setProperty("nividic.log", "true");
47      properties.setProperty("nividic.log.console", "true");
48      properties.setProperty("nividic.log.level", "debug");
49  
50      App.main(properties, args);
51    }
52  
53    //
54    // Constructor
55    //
56  
57    private EclipseApp() {
58    }
59  
60  }