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="org.stackoverflowusers.file" class="jalview.gui.Desktop"/>
98 <allow pkg="uk.ac.vamsas" class="jalview.gui.VamsasApplication"/>
101 <subpackage name="jbgui">
102 <allow pkg="javax.swing"/>
103 <allow pkg="net.miginfocom"/>
106 <subpackage name="httpserver">
107 <allow pkg="javax.servlet"/>
108 <allow pkg="org.eclipse.jetty"/>
111 <subpackage name="io">
112 <allow pkg="javax.swing"/>
113 <allow pkg="org.jfree"/>
114 <allow pkg="org.json"/>
115 <allow pkg="org.jsoup"/>
116 <allow pkg="uk.ac.ebi"/>
117 <allow pkg="uk.ac.vamsas"/>
118 <allow pkg="fr.orsay.lri.varna"/>
119 <allow pkg="MCview"/>
120 <subpackage name="vcf">
121 <allow pkg="htsjdk\.*" regex="true"/>
125 <subpackage name="javascript">
126 <allow pkg="netscape.javascript"/>
129 <subpackage name="rest">
130 <allow pkg="javax.servlet"/>
133 <subpackage name="schemes">
134 <allow pkg="org.exolab.castor" class="jalview.schemes.ColourSchemeLoader"/>
137 <subpackage name="structure">
138 <allow pkg="MCview"/>
141 <subpackage name="urls">
142 <allow pkg="javax.swing" class="jalview.urls.UrlLinkTableModel"/>
143 <allow pkg="org.json"/>
146 <subpackage name="util">
147 <allow pkg="javax.swing"/>
148 <allow pkg="javax.imageio"/>
149 <allow pkg="org.jfree"/>
150 <allow pkg="org.jibble"/>
153 <subpackage name="ws">
154 <allow pkg="javax.swing"/>
155 <allow pkg="javax.xml"/>
156 <allow pkg="ext.vamsas"/>
157 <allow pkg="compbio"/>
158 <allow pkg="MCview"/>
159 <allow pkg="org.apache.http"/>
160 <allow pkg="org.apache.james"/>
161 <allow pkg="org.apache.axis"/>
162 <allow pkg="org.biodas.jdas"/>
163 <allow pkg="org.exolab.castor"/>
164 <allow pkg="uk.ac.ebi"/>
165 <allow pkg="vamsas.objects"/>