[Ejtools-cvs] CVS: website/content/developers build.xhtml,NONE,1.1 style.html,NONE,1.1 style.xhtml,N
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-21 20:11:45
|
Update of /cvsroot/ejtools/website/content/developers In directory usw-pr-cvs1:/tmp/cvs-serv29763/content/developers Modified Files: index.xhtml source.xhtml Added Files: build.xhtml style.html style.xhtml Log Message: Add some pages --- NEW FILE: build.xhtml --- <?xml version="1.0" encoding="UTF-8"?> <html> <head> <title>EJTools - Source Code</title> </head> <body> <h1>Build System</h1> <p>The EJTools build system is based on the <a href="http://jakarta.apache.org/ant/">Jakarta Ant</a> package and its optional tasks. There is a main build file which calls sub build file. Here is the description of this sub build file :<ul> <li>build_thirdparty.xml : builds the thirdparty library located under the <code>thirdparty</code> folder.</li> <li>build_library.xml : builds the project library located under the <code>library</code> folder.</li> <li>build_application.xml : builds the applications located under the <code>applications</code> folder.</li> <li>build_webapp.xml : builds the Web applications located under the <code>applications</code> folder.</li> <li>build_website.xml : builds the EJTools website located under the <code>website</code> folder.</li> </ul>Each sub build file is configured by a file located named <code>module.properties</code> that contains the informations (such as the display name, the package, etc) of the thirdparty library, of the project library or the application. </p> </body> </html> --- NEW FILE: style.html --- <html> <head> <title>Enter the title of your HTML document here</title> </head> <body> <code> <font COLOR="#006666">/*</font> <br /> <font COLOR="#3f7f5f"> * EJTools, the Enterprise Java Tools</font> <br /> <font COLOR="#3f7f5f"> *</font> <br /> <font COLOR="#3f7f5f"> * Distributable under LGPL license.</font> <br /> <font COLOR="#3f7f5f"> * See terms of license at www.gnu.org.</font> <br /> <font COLOR="#3f7f5f"> */</font> <br /> <font COLOR="#7f0055"> <STRONG>package</STRONG> </font> net.sourceforge.ejtools.util;<br /> <br /> <font COLOR="#7f0055"> <STRONG>import</STRONG> </font> java.util.Stack;<br /> <br /> <font COLOR="#3f5fbf">/**</font> <br /> <font COLOR="#3f5fbf"> * Extension of the Stack class, which has a limited depth (FIFO stack). This</font> <br /> <font COLOR="#3f5fbf"> * class doesn't allow duplicates.</font> <br /> <font COLOR="#3f5fbf"> *</font> <br /> <font COLOR="#3f5fbf"> * </font> <font COLOR="#7f9fbf"> <STRONG>@author</STRONG> </font> <font COLOR="#3f5fbf"> author of the code</font> <br /> <font COLOR="#3f5fbf"> * @created 24 decembre 2001</font> <br /> <font COLOR="#3f5fbf"> * </font> <font COLOR="#7f9fbf"> <STRONG>@version</STRONG> </font> <font COLOR="#3f5fbf"> $Revision: 1.3 $</font> <br /> <font COLOR="#3f5fbf" /> <font COLOR="#3f5fbf"> */</font> <br /> <font COLOR="#000000"> <STRONG>public</STRONG> </font> <font COLOR="#000066"> <STRONG>class</STRONG> </font> LimitedStack <font COLOR="#000000"> <STRONG>extends</STRONG> </font> Stack<br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#3f5fbf"> /**</font> <font COLOR="#3f5fbf"> Maximum number elements allowed in the stack </font> <font COLOR="#3f5fbf">*/</font> <br /> <font COLOR="#000000"> <STRONG>protected</STRONG> </font> <font COLOR="#000066"> <STRONG>int</STRONG> </font> maximumSize;<br /> <br /> <br /> <font COLOR="#3f5fbf"> /**</font> <font COLOR="#3f5fbf"> Constructor for the LimitedStack object </font> <font COLOR="#3f5fbf">*/</font> <br /> <font COLOR="#000000"> <STRONG>public</STRONG> </font> <font COLOR="#000066">LimitedStack</font>()<br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#404040"> this</font>(<font COLOR="#666600">10</font>);<br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> <br /> <br /> <font COLOR="#3f5fbf"> /**</font> <br /> <font COLOR="#3f5fbf"> * Constructor for the LimitedStack object</font> <br /> <font COLOR="#3f5fbf"> *</font> <br /> <font COLOR="#3f5fbf"> * </font> <font COLOR="#7f9fbf"> <STRONG>@param</STRONG> </font> <font COLOR="#3f5fbf"> size Depth size of the stack</font> <br /> <font COLOR="#3f5fbf" /> <font COLOR="#3f5fbf"> */</font> <br /> <font COLOR="#000000"> <STRONG>public</STRONG> </font> <font COLOR="#000066">LimitedStack</font>(<font COLOR="#000066"> <STRONG>int</STRONG> </font> size)<br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#404040"> this</font>.maximumSize <font COLOR="#000000"> <STRONG>=</STRONG> </font> size;<br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> <br /> <br /> <font COLOR="#3f5fbf"> /**</font> <br /> <font COLOR="#3f5fbf"> * Overrides the push method to limit the number of elements.</font> <br /> <font COLOR="#3f5fbf"> *</font> <br /> <font COLOR="#3f5fbf"> * </font> <font COLOR="#7f9fbf"> <STRONG>@param</STRONG> </font> <font COLOR="#3f5fbf"> item Item to push onto the stack</font> <br /> <font COLOR="#3f5fbf"> * </font> <font COLOR="#7f9fbf"> <STRONG>@return</STRONG> </font> <font COLOR="#3f5fbf"> The item pushed</font> <br /> <font COLOR="#3f5fbf" /> <font COLOR="#3f5fbf"> */</font> <br /> <font COLOR="#000000"> <STRONG>public</STRONG> </font> Object <font COLOR="#000066">push</font>(Object item)<br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#006666"> // Remove duplicate</font> <br /> <font COLOR="#000000"> <STRONG>if</STRONG> </font> (<font COLOR="#404040">this</font>.<font COLOR="#000066">contains</font>(item))<br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#404040"> this</font>.<font COLOR="#000066">remove</font>(<font COLOR="#404040">this</font>.<font COLOR="#000066">indexOf</font>(item));<br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> <font COLOR="#000000"> <STRONG>else</STRONG> </font> <br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#006666"> // If size is exceeded, remove the first in</font> <br /> <font COLOR="#000000"> <STRONG>if</STRONG> </font> (<font COLOR="#404040">this</font>.<font COLOR="#000066">size</font>() <font COLOR="#000000"> <STRONG>>=</STRONG> </font> <font COLOR="#404040">this</font>.maximumSize)<br /> <font COLOR="#000000"> <STRONG>{</STRONG> </font> <br /> <font COLOR="#404040"> this</font>.<font COLOR="#000066">remove</font>(<font COLOR="#666600">0</font>);<br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> <br /> <font COLOR="#006666"> // Push the item</font> <br /> <font COLOR="#000000"> <STRONG>return</STRONG> </font> <font COLOR="#404040">super</font>.<font COLOR="#000066">push</font>(item);<br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> <font COLOR="#000000"> <STRONG>}</STRONG> </font> <br /> </code> </body> </html> --- NEW FILE: style.xhtml --- (This appears to be a binary file; contents omitted.) Index: index.xhtml =================================================================== RCS file: /cvsroot/ejtools/website/content/developers/index.xhtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.xhtml 18 Apr 2002 21:01:38 -0000 1.1 --- index.xhtml 21 May 2002 20:11:42 -0000 1.2 *************** *** 1,15 **** <?xml version="1.0" encoding="UTF-8"?> <html> ! <head> ! <title>EJTools - For Developers</title> ! </head> ! ! <body> ! <h1>For Developers</h1> ! ! <p>Here you can find some information that is useful for developers and ! people who might want to become a developer. This section contains ! informations for downloading the source code from CVS.</p> ! </body> </html> - --- 1,19 ---- <?xml version="1.0" encoding="UTF-8"?> + <!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Laurent Etiemble (Orange) --> <html> ! <head> ! <title>EJTools - For Developers</title> ! </head> ! <body> ! <h1>For Developers</h1> ! <p>Here you can find some information that is useful for developers and people who might want to become a developer. This section contains informations about :<ul> ! <li> ! <a href="source.html">the source code</a> from CVS and how to use it</li> ! <li> ! <a href="build.html">the build system</a> used by EJTools</li> ! <li> ! <a href="style.html">the code style</a> if you want to make some code for EJTools</li> ! </ul> ! </p> ! </body> </html> Index: source.xhtml =================================================================== RCS file: /cvsroot/ejtools/website/content/developers/source.xhtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** source.xhtml 18 Apr 2002 21:01:38 -0000 1.1 --- source.xhtml 21 May 2002 20:11:43 -0000 1.2 *************** *** 1,24 **** <?xml version="1.0" encoding="UTF-8"?> <html> ! <head> ! <title>EJTools - Source Code</title> ! </head> ! ! <body> ! <h1>Source Code</h1> ! ! <p>Source code is available from the ! <a href="http://www.sourceforge.net/cvs/?group_id=49088">SourceForge CVS ! repository</a> ! ! . Two accesses are provided : ! <ul> ! <li>Anonymous : it is a read-only access of the CVS tree.</li> ! ! <li>SSH : it is a secure read-write access of the CVS tree. You need ! to be a regitered developpers on EJTools.</li> ! </ul> ! </p> ! </body> </html> - --- 1,31 ---- <?xml version="1.0" encoding="UTF-8"?> <html> ! <head> ! <title>EJTools - Source Code</title> ! </head> ! <body> ! <h1>Source Code</h1> ! <p>Source code is available from the <a href="http://www.sourceforge.net/cvs/?group_id=49088">SourceForge CVS repository</a>. Two accesses are provided :<ul> ! <li> ! <b>Anonymous CVS Access</b> ! <br /> ! This project's source code can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the Enter key. The default module is ".". ! <pre> ! cvs -d:pserver:ano...@cv...:/cvsroot/ejtools login ! cvs -z3 -d:pserver:ano...@cv...:/cvsroot/ejtools co modulename ! </pre> ! Updates from within the module's directory do not need the -d parameter. ! </li> ! <li> ! <b>Developer CVS Access via SSH</b> ! <br /> ! Only project developers can access the CVS tree via this method. SSH1 must be installed on your client machine. Substitute modulename and developername with the proper values. Enter your site password when prompted. You can also use SSH keys to have a passwordless access. Refer to the SourceForge documentation. ! <pre> ! export CVS_RSH=ssh ! cvs -z3 -d:ext:dev...@cv...:/cvsroot/ejtools co modulename ! </pre> ! </li> ! </ul> ! </p> ! </body> </html> |