Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mjancar:Eclipse
eclipse
eclipse-efj-doc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eclipse-efj-doc.patch of Package eclipse
diff -ruN org.eclipse.jdt.doc.user.orig/tasks/tasks-230.htm org.eclipse.jdt.doc.user/tasks/tasks-230.htm --- org.eclipse.jdt.doc.user.orig/tasks/tasks-230.htm 1969-12-31 19:00:00.000000000 -0500 +++ org.eclipse.jdt.doc.user/tasks/tasks-230.htm 2006-02-04 12:49:11.000000000 -0500 @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> +<html> + <head> +<meta name="copyright" content="Copyright (c) Red Hat Incorporated 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Style-Type" content="text/css"> + <title> + Using the Formatter Application + </title> + <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> + </head> + <body> + <h1> + Using the Formatter Application + </h1> + <p> + The JDT has a commandline Eclipse Application that allows users to format Java source code either with + the Eclipse default code formatter options or with custom options. + </p> + <p> + <img src="../images/ngrelt.png" alt="Related tasks" border="0" > + </p> + <p> + <a href="tasks-66.htm">Formatting Java Code</a><br> + <a href="tasks-231.htm">Running the Formatter Application</a> + </p> + <p> + <img src="../images/ngrelr.png" alt="Related reference" border="0" > + </p> + <p> + <a href="../reference/ref-17.htm">CodeFormatter</a><br> + </p> + + </body> +</html> + diff -ruN org.eclipse.jdt.doc.user.orig/tasks/tasks-231.htm org.eclipse.jdt.doc.user/tasks/tasks-231.htm --- org.eclipse.jdt.doc.user.orig/tasks/tasks-231.htm 1969-12-31 19:00:00.000000000 -0500 +++ org.eclipse.jdt.doc.user/tasks/tasks-231.htm 2006-02-04 12:49:11.000000000 -0500 @@ -0,0 +1,78 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> +<html> + <head> +<meta name="copyright" content="Copyright (c) Red Hat Incorporated 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Style-Type" content="text/css"> + <title> + Running the Formatter Application + </title> + <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> + </head> + <body> + <h1> + Running the Formatter Application + </h1> + <p> + Running the Formatter Application is as simple as running the org.eclipse.jdt.core.JavaCodeFormatter application from the commandline: + <pre> + eclipse -vm <path to virtual machine> -application org.eclipse.jdt.core.JavaCodeFormatter [ OPTIONS ] <files> + </pre> + <table border="1" cellspacing="0" cellpadding="5" width="600"> + <tr> + <td width="25%"><files></td> + <td>Java source files and/or directories to format. Only files ending with .java will be formatted in the given directory.</td> + </tr> + </table> + </p> + <p> + <table border="1" cellspacing="0" cellpadding="5" width="600"> + <thead> + <tr> + <th><p>OPTIONS</p></th> + <th><p>Description</p></th> + </tr> + </thead> + <tbody> + <tr> + <td valign="top" width="25%"><p>-config <file></p></td> + <td valign="top"><p>Use the formatting style from the specified properties file. + Refer to <a href="tasks-232.htm">Generating a config file for the Formatter Application</a> + for details.</p> + </td> + </tr> + <tr> + <td valign="top" width="25%"><p>-help</p></td> + <td valign="top"><p>Display the help message.</p> + </td> + </tr> + <tr> + <td valign="top" width="25%"><p>-quiet</p></td> + <td valign="top"><p>Only print error messages.</p> + </td> + </tr> + <tr> + <td valign="top" width="25%"><p>-verbose</p></td> + <td valign="top"><p>Be verbose about the formatting job.</p> + </td> + </tr> + </tbody> + </table> + </p> + + <p> + <img src="../images/ngrelt.png" alt="Related tasks" border="0" > + </p> + <p> + <a href="tasks-66.htm">Formatting Java Code</a><br> + </p> + <p> + <img src="../images/ngrelr.png" alt="Related reference" border="0" > + </p> + <p> + <a href="../reference/ref-17.htm">CodeFormatter</a><br> + </p> + + </body> +</html> + diff -ruN org.eclipse.jdt.doc.user.orig/tasks/tasks-232.htm org.eclipse.jdt.doc.user/tasks/tasks-232.htm --- org.eclipse.jdt.doc.user.orig/tasks/tasks-232.htm 1969-12-31 19:00:00.000000000 -0500 +++ org.eclipse.jdt.doc.user/tasks/tasks-232.htm 2006-02-04 12:49:11.000000000 -0500 @@ -0,0 +1,58 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> +<html> + <head> +<meta name="copyright" content="Copyright (c) Red Hat Incorporated 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Style-Type" content="text/css"> + <title> + Generating a config file for the Formatter Application + </title> + <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> + </head> + <body> + <h1> + Generating a config file for the Formatter Application + </h1> + <p> + Generating a config file for the Formatter Application involves modifying the code formatter settings + for a Java Project and copying org.eclipse.jdt.core.prefs out of the .settings directory for that project. + </p> + <ol> + <li> + Select a java project, open the pop-up menu and choose <strong>Properties</strong>. + </li> + + <li> + Select the <strong>Code Style > Formatter</strong> page and check <strong>Enable project specific sttings</strong>. + </li> + <li> + Select or edit a profile as explained above. + </li> + + <li> + Click <strong>OK</strong> when you are done. + </li> + + <li> + Use either a file manager or the command line to copy <b><code>workspace/YourJavaProject/.settings/org.eclipse.jdt.core.prefs</code></b> + to a new location. + </li> + + </ol> + </p> + <p> + <img src="../images/ngrelt.png" alt="Related tasks" border="0" > + </p> + <p> + <a href="tasks-68.htm">Setting code formatting preferences</a><br> + </p> + <p> + <img src="../images/ngrelr.png" alt="Related reference" border="0" > + </p> + <p> + <a href="../reference/ref-17.htm">Code Formatter</a><br> + </p> + + </body> +</html> + diff -ruN org.eclipse.jdt.doc.user.orig/tasks/tasks-68.htm org.eclipse.jdt.doc.user/tasks/tasks-68.htm --- org.eclipse.jdt.doc.user.orig/tasks/tasks-68.htm 2005-06-23 06:30:40.000000000 -0400 +++ org.eclipse.jdt.doc.user/tasks/tasks-68.htm 2006-02-04 12:50:06.000000000 -0500 @@ -63,7 +63,8 @@ </p> <p> <a href="tasks-66.htm">Formatting Java code</a><br> - <a href="tasks-67.htm">Formatting files or portions of code</a> + <a href="tasks-67.htm">Formatting files or portions of code</a><br> + <a href="tasks-230.htm">Using the Formatter Application</a> </p> <p> <img border="0" src="../images/ngrelr.png" alt="Related reference"> diff -ruN org.eclipse.jdt.doc.user.orig/topics_Tasks.xml org.eclipse.jdt.doc.user/topics_Tasks.xml --- org.eclipse.jdt.doc.user.orig/topics_Tasks.xml 2005-06-23 10:55:16.000000000 -0400 +++ org.eclipse.jdt.doc.user/topics_Tasks.xml 2006-02-04 12:50:03.000000000 -0500 @@ -310,4 +310,9 @@ </topic> </topic> <anchor id="t_scrapbook" /> -</toc> \ No newline at end of file + <topic label="Using the Formatter Application" href="tasks/tasks-230.htm"> + <topic label="Running the Formatter Application" href="tasks/tasks-231.htm"></topic> + <topic label="Generating a config file for the Formatter Application" href="tasks/tasks-232.htm"></topic> + </topic> + +</toc>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor