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.embl">
41 <allow pkg="org.exolab.castor"/>
45 <subpackage name="ext">
46 <subpackage name="ensembl">
47 <allow pkg="javax.ws"/>
48 <allow pkg="org.json"/>
50 <subpackage name="htsjdk">
53 <subpackage name="jmol">
55 <allow pkg="org.jmol"/>
57 <subpackage name="paradise">
58 <allow pkg="org.apache"/>
59 <allow pkg="org.json"/>
61 <subpackage name="rbvi">
62 <allow pkg="ext.edu.ucsf"/>
63 <allow pkg="javax.servlet"/>
65 <subpackage name="so">
66 <allow pkg="org.biojava"/>
68 <subpackage name="varna">
69 <allow pkg="fr.orsay"/>
73 <subpackage name="fts">
74 <allow pkg="javax.swing"/>
75 <allow pkg="javax.ws"/>
76 <allow pkg="org.json"/>
77 <allow pkg="com.sun.jersey"/>
80 <subpackage name="gui">
81 <allow pkg="javax.swing"/>
82 <allow pkg="javax.help"/>
83 <allow pkg="javax.imageio"/>
84 <allow pkg="ext.edu.ucsf"/>
85 <allow pkg="net.miginfocom"/>
86 <allow pkg="org.jibble"/>
87 <allow pkg="org.jmol"/>
88 <allow pkg="org.openscience"/>
89 <allow pkg="org.exolab.castor" class="jalview.gui.Jalview2XML"/>
90 <allow pkg="org.robsite" class="jalview.gui.BlogReader"/>
91 <allow pkg="org.apache.log4j" class="jalview.gui.Console"/>
92 <allow pkg="org.apache.log4j" class="jalview.gui.JalviewAppender"/>
93 <allow pkg="org.biodas" class="jalview.gui.DasSourceBrowser"/>
94 <allow pkg="compbio.metadata" class="jalview.gui.WsJobParameters"/>
95 <allow pkg="fr.orsay.lri.varna" class="jalview.gui.AppVarna"/>
96 <allow pkg="fr.orsay.lri.varna" class="jalview.gui.AppVarnaBinding"/>
97 <allow pkg="uk.ac.vamsas" class="jalview.gui.VamsasApplication"/>
100 <subpackage name="jbgui">
101 <allow pkg="javax.swing"/>
102 <allow pkg="net.miginfocom"/>
105 <subpackage name="httpserver">
106 <allow pkg="javax.servlet"/>
107 <allow pkg="org.eclipse.jetty"/>
110 <subpackage name="io">
111 <allow pkg="javax.swing"/>
112 <allow pkg="org.jfree"/>
113 <allow pkg="org.json"/>
114 <allow pkg="org.jsoup"/>
115 <allow pkg="uk.ac.ebi"/>
116 <allow pkg="uk.ac.vamsas"/>
117 <allow pkg="fr.orsay.lri.varna"/>
118 <allow pkg="MCview"/>
121 <subpackage name="javascript">
122 <allow pkg="netscape.javascript"/>
125 <subpackage name="rest">
126 <allow pkg="javax.servlet"/>
129 <subpackage name="schemes">
130 <allow pkg="org.exolab.castor" class="jalview.schemes.ColourSchemeLoader"/>
133 <subpackage name="structure">
134 <allow pkg="MCview"/>
137 <subpackage name="urls">
138 <allow pkg="javax.swing" class="jalview.urls.UrlLinkTableModel"/>
139 <allow pkg="org.json"/>
142 <subpackage name="util">
143 <allow pkg="javax.swing"/>
144 <allow pkg="javax.imageio"/>
145 <allow pkg="org.jfree"/>
146 <allow pkg="org.jibble"/>
149 <subpackage name="ws">
150 <allow pkg="javax.swing"/>
151 <allow pkg="javax.xml"/>
152 <allow pkg="ext.vamsas"/>
153 <allow pkg="compbio"/>
154 <allow pkg="MCview"/>
155 <allow pkg="org.apache.http"/>
156 <allow pkg="org.apache.james"/>
157 <allow pkg="org.apache.axis"/>
158 <allow pkg="org.biodas.jdas"/>
159 <allow pkg="org.exolab.castor"/>
160 <allow pkg="uk.ac.ebi"/>
161 <allow pkg="vamsas.objects"/>