1 <?xml version="1.0" encoding="UTF-8"?>
3 <!DOCTYPE import-control PUBLIC
4 "-//Puppy Crawl//DTD Import Control 1.1//EN"
5 "http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
8 see http://checkstyle.sourceforge.net/config_imports.html#ImportControl
9 allow/disallow rules propagate to sub-packages
10 unless local-only="true" is specified
12 note this can handle only one top-level package, so ImportControl is
13 suppressed for MCview and vamsas in checkstyle-suppress.xml
14 (all rules are suppressed for com/ext/org/uk)
16 <import-control pkg="jalview">
19 <allow pkg="jalview"/>
20 <allow pkg="com.stevesoft.pat"/>
22 <subpackage name="appletgui">
23 <disallow pkg="javax.swing"/>
24 <disallow pkg="jalview.gui"/>
25 <disallow pkg="jalview.ws"/>
26 <allow pkg="org.jmol"/>
27 <allow pkg="javajs.awt" class="jalview.appletgui.AppletJmolBinding"/>
30 <subpackage name="bin">
32 <allow pkg="org.apache.log4j" class="jalview.bin.Cache"/>
33 <allow pkg="javax.swing" class="jalview.bin.Jalview"/>
34 <allow pkg="netscape.javascript" class="jalview.bin.JalviewLite"/>
37 <subpackage name="datamodel">
38 <disallow pkg="jalview.gui"/>
39 <allow pkg="fr.orsay.lri.varna"/>
40 <subpackage name="xdb">
41 <subpackage name="embl">
42 <allow pkg="org.exolab.castor"/>
47 <subpackage name="fts">
48 <allow pkg="javax.swing"/>
49 <allow pkg="javax.ws"/>
50 <allow pkg="org.json"/>
51 <allow pkg="com.sun.jersey"/>
54 <subpackage name="gui">
55 <allow pkg="javax.swing"/>
56 <allow pkg="javax.help"/>
57 <allow pkg="javax.imageio"/>
58 <allow pkg="ext.edu.ucsf"/>
59 <allow pkg="net.miginfocom"/>
60 <allow pkg="org.jibble"/>
61 <allow pkg="org.jmol"/>
62 <allow pkg="org.openscience"/>
63 <allow pkg="org.exolab.castor" class="jalview.gui.Jalview2XML"/>
64 <allow pkg="org.robsite" class="jalview.gui.BlogReader"/>
65 <allow pkg="org.apache.log4j" class="jalview.gui.Console"/>
66 <allow pkg="org.apache.log4j" class="jalview.gui.JalviewAppender"/>
67 <allow pkg="org.biodas" class="jalview.gui.DasSourceBrowser"/>
68 <allow pkg="compbio.metadata" class="jalview.gui.WsJobParameters"/>
69 <allow pkg="fr.orsay.lri.varna" class="jalview.gui.AppVarna"/>
70 <allow pkg="fr.orsay.lri.varna" class="jalview.gui.AppVarnaBinding"/>
71 <allow pkg="uk.ac.vamsas" class="jalview.gui.VamsasApplication"/>
74 <subpackage name="jbgui">
75 <allow pkg="javax.swing"/>
76 <allow pkg="net.miginfocom"/>
79 <subpackage name="httpserver">
80 <allow pkg="javax.servlet"/>
81 <allow pkg="org.eclipse.jetty"/>
84 <subpackage name="io">
85 <allow pkg="javax.swing"/>
86 <allow pkg="org.jfree"/>
87 <allow pkg="org.json"/>
88 <allow pkg="org.jsoup"/>
89 <allow pkg="uk.ac.ebi"/>
90 <allow pkg="uk.ac.vamsas"/>
91 <allow pkg="fr.orsay.lri.varna"/>
95 <subpackage name="javascript">
96 <allow pkg="netscape.javascript"/>
99 <subpackage name="rest">
100 <allow pkg="javax.servlet"/>
103 <subpackage name="structure">
104 <allow pkg="MCview"/>
107 <subpackage name="util">
108 <allow pkg="javax.swing"/>
109 <allow pkg="javax.imageio"/>
110 <allow pkg="org.jfree"/>
111 <allow pkg="org.jibble"/>
114 <subpackage name="ws">
115 <allow pkg="javax.swing"/>
116 <allow pkg="javax.xml"/>
117 <allow pkg="ext.vamsas"/>
118 <allow pkg="compbio"/>
119 <allow pkg="MCview"/>
120 <allow pkg="org.apache.http"/>
121 <allow pkg="org.apache.james"/>
122 <allow pkg="org.apache.axis"/>
123 <allow pkg="org.biodas.jdas"/>
124 <allow pkg="org.exolab.castor"/>
125 <allow pkg="uk.ac.ebi"/>
126 <allow pkg="vamsas.objects"/>