⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plugin-ant-usage.html

📁 This the README for the Eclipse Plug-in distribution of the Jalopy Java Source Code Formatter.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
  &lt;!-- Defines the project classpath                                        --&gt;  &lt;!-- ==================================================================== --&gt;  &lt;path id="project.classpath" &gt;    &lt;!-- our compilation directory --&gt;    &lt;pathelement location="${dir.compile}" /&gt;    &lt;!-- needed 3rd party libraries --&gt;    &lt;fileset dir="${dir.lib}" &gt;      &lt;include name="**/*.jar" /&gt;    &lt;/fileset&gt;  &lt;/path&gt;  &lt;!-- ==================================================================== --&gt;  &lt;!-- Compiles the project sources                                         --&gt;  &lt;!-- ==================================================================== --&gt;  &lt;target name="compile"          depends="init"&gt;    &lt;javac destdir="${dir.compile}"           fork="true"&gt;      &lt;classpath refid="project.classpath" /&gt;      &lt;src path="${dir.src.java}" /&gt;    &lt;/javac&gt;  &lt;/target&gt;  &lt;!-- ==================================================================== --&gt;  &lt;!-- Formats all source files                                             --&gt;  &lt;!-- ==================================================================== --&gt;  &lt;target name="format" depends="compile"&gt;    &lt;!--      Invokes Jalopy as follows:      - All formatted files will have unix fileformat (\n)      - Load your code convention from the given url      - Override the convention to use the file history feature      - Override the convention to use alder32 checksums of files for history testing      - Override the convention to use loglevel "info"      - Override the convention to use 2 threads      - The import optimization feature will work (if enabled in the active        convention), because a classpath reference is specified        Don't forget to setup an include pattern as Jalopy truly expects        valid Java source files as input!      --&gt;    &lt;jalopy fileformat="unix"            convention="http://www.foo.com/myConvention.xml"            history="file"            historymethod="adler32"            loglevel="info"            threads="2"            classpathref="project.classpath"&gt;      &lt;fileset dir="${dir.src.java}"&gt;        &lt;include name="**/*.java" /&gt;      &lt;/fileset&gt;    &lt;/jalopy&gt;  &lt;/target&gt;&lt;/project&gt;</pre></td></tr></table></div><p></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="plugin-ant-config.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="plugin-ant.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="plugin-ant-license.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">5.2.&nbsp;Configuration&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="manual.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;5.4.&nbsp;License</td></tr></table></div></td></tr></table></td></tr><tr><td bgcolor="#eeeecc" height="17" style="font-size:9px;padding-left:5px"><a href="#toppage">to top</a></td></tr><tr><td height="30"><br></td></tr><tr><td height="3"></td></tr><tr><td bgcolor="#336699" height="1"></td></tr><tr><td height="1"></td></tr><tr><td bgcolor="#336699" height="16"></td></tr><tr><td bgcolor="#ff9966" height="4"></td></tr><tr><td class="footer" align="center" height="15" valign="middle">            Copyright &copy; 2001-2004, <a class="footer" href="./contact.html">Marco Hunsicker</a>. All rights reserved. Hosted by <a href="http://sourceforge.net">SourceForge.net</a></td></tr></tbody></table><img src="http://sourceforge.net/sflogo.php?group_id=45216&amp;type=1" width="1" height="1" border="0" hspace="0" vspace="0" alt=""></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -