You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by David Graham <dg...@hotmail.com> on 2002/11/22 16:22:45 UTC
RE: bloated docs? [was: cvs commit: jakarta-struts/doc/faqs netbeans.xml
project.xml newbie.xml]
I don't think it's illegal to display screenshots of their product in this
context. We're not getting any money for this :-).
David
>From: "James Mitchell" <jm...@telocity.com>
>Reply-To: "Struts Developers List" <st...@jakarta.apache.org>
>To: "Struts Developers List" <st...@jakarta.apache.org>
>Subject: RE: bloated docs? [was: cvs commit: jakarta-struts/doc/faqs
>netbeans.xml project.xml newbie.xml]
>Date: Fri, 22 Nov 2002 10:18:38 -0500
>
>Yes Sir, you are correct as Mr Karr also pointed out.
>
>I'll be committing the complete tutorial later today or first thing
>tomorrow.
>So don't worry about changing it for now.
>
>As I'm hammering through these screenshots, I hate to think that I will
>single
>handedly increase the documentation by 2 Meg.
>
>I'm about 60% complete with NetBeans and about 30% with Eclipse. I was
>planning
>to add the same for JBuilder 6 Personal Edition, but not sure about legal
>issues
>with displaying their product (you would think that they would appreciate
>more
>coverage, who knows :/ )
>
>Your thoughts?
>
>
>--
>James Mitchell
>Software Engineer/Struts Evangelist
>http://www.open-tools.org
>
>"If you were plowing a field, which would you rather use? Two strong oxen
>or
>1024 chickens?"
>- Seymour Cray (1925-1996), father of supercomputing
>
>
> > -----Original Message-----
> > From: David Graham [mailto:dgraham1980@hotmail.com]
> > Sent: Friday, November 22, 2002 10:06 AM
> > To: struts-dev@jakarta.apache.org
> > Subject: Re: cvs commit: jakarta-struts/doc/faqs netbeans.xml
> > project.xml newbie.xml
> >
> >
> > I think you meant to say JNI instead of JNDI calls to the OS. It's a
>bit
> > misleading to say it's fast as hell on Windows without mentioning that
>it
> > runs on Linux as well.
> >
> > SWT is what Swing should have been. Native calls for OS supported
>widgets,
> > java imitations for other widgets.
> >
> > Dave
> >
> >
> >
> >
> >
> >
> > >From: husted@apache.org
> > >Reply-To: "Struts Developers List" <st...@jakarta.apache.org>
> > >To: jakarta-struts-cvs@apache.org
> > >Subject: cvs commit: jakarta-struts/doc/faqs netbeans.xml project.xml
> > >newbie.xml
> > >Date: 22 Nov 2002 02:45:23 -0000
> > >
> > >husted 2002/11/21 18:45:23
> > >
> > > Modified: doc/faqs project.xml newbie.xml
> > > Added: doc/faqs netbeans.xml
> > > Log:
> > > Add NetBeans howto by James Mitchell.
> > >
> > > Revision Changes Path
> > > 1.4 +1 -0 jakarta-struts/doc/faqs/project.xml
> > >
> > > Index: project.xml
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-struts/doc/faqs/project.xml,v
> > > retrieving revision 1.3
> > > retrieving revision 1.4
> > > diff -u -r1.3 -r1.4
> > > --- project.xml 17 Nov 2002 22:07:54 -0000 1.3
> > > +++ project.xml 22 Nov 2002 02:45:22 -0000 1.4
> > > @@ -12,6 +12,7 @@
> > > </menu>
> > >
> > > <menu name="Howtos">
> > > + <item href="netbeans.html" name="Netbeans"/>
> > > <item href="ssl.html" name="SSL"/>
> > > </menu>
> > >
> > >
> > >
> > >
> > > 1.4 +2 -0 jakarta-struts/doc/faqs/newbie.xml
> > >
> > > Index: newbie.xml
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-struts/doc/faqs/newbie.xml,v
> > > retrieving revision 1.3
> > > retrieving revision 1.4
> > > diff -u -r1.3 -r1.4
> > > --- newbie.xml 6 Nov 2002 22:48:46 -0000 1.3
> > > +++ newbie.xml 22 Nov 2002 02:45:22 -0000 1.4
> > > @@ -48,6 +48,8 @@
> > >
> > > <li><a href="#link">Why does the <html:link> tag URL-encode
> > >javascript and mailto links?"</a></li>
> > >
> > > + <li>Why can't I disable URL-encoding in the Struts
>taglibs?</li>
> > > +
> > > <li>When is the best time to validate input?</li>
> > >
> > > <li>How can I avoid validating a form before data is
>entered?</li>
> > >
> > >
> > >
> > > 1.1 jakarta-struts/doc/faqs/netbeans.xml
> > >
> > > Index: netbeans.xml
> > > ===================================================================
> > > <?xml version="1.0"?>
> > >
> > > <document url="./ssl.xml">
> > >
> > > <properties>
> > >
> > > <author>James Mitchell</author>
> > >
> > > <title>How to setup struts in Netbeans IDE - Apache Struts</title>
> > >
> > > </properties>
> > >
> > > <body>
> > >
> > > <chapter href="netbeans" name="How to setup struts in Netbeans IDE">
> > >
> > > <section name="For working on the distribution itself">
> > > <ol>
> > > <li>
> > > Create a new project (from the Project Manager window)
> > > </li>
> > > <li>
> > > Download the struts source distribution (or use built-in cvs to get
> > > the module)
> > > </li>
> > > <li>
> > > Extract to a local drive (if on windoze, try not to have spaces in
> > > the directory (such as C:\My Documents)
> > > </li>
> > > <li>
> > > Mount the directory you unzipped to
> > > </li>
> > > <li>
> > > Copy build.properties.sample to build.properties and customize to
>point
> > > to where you keep those jars
> > > </li>
> > > <li>
> > > Mount each of the source directories that you wish to work in
> > > For me, I use:<br />
> > > <code>
> > > jakarta-struts/src/share<br />
> > > jakarta-struts/src/example
> > > </code>
> > > </li>
> > > <li>
> > > Mount each jar referenced in the build.properties file<br />
> > > <b>Note</b> - NetBeans has built in support for auto-mounting these
>if
> > >your
> > > build.xml specifies the jars in the project.classpath, but
> > > that's not the case for the default struts distribution.
> > > </li>
> > > </ol>
> > > </section>
> > >
> > > <section name="For doing your own thing">
> > > <ol>
> > > <li>
> > > Create a new project (from the Project Manager window)
> > > </li>
> > > <li>
> > > Download (or build for yourself) the required jars<br />
> > > (See the jakarta-struts-1.1-b2/webapps/struts-example.war)
> > > </li>
> > > <li>
> > > Create a directory (I use a structure similar to how the webapp
>will
> > >exist)
> > > <pre>
> > > +-/my-project
> > > |
> > > +-/WEB-INF
> > > |
> > > +-/classes
> > > |
> > > +-/lib
> > > |
> > > +-/src</pre>
> > > </li>
> > > <li>
> > > Create a build.xml for your project (so ant can build and war it
>for
> > >you).
> > > I recommend you use an existing file to get a jump start on
> > >development.
> > > Actually, I recommend you re-use someone's entire existing project.
> > >That
> > > will surely get you ahead of the game.
> > > </li>
> > > <li>
> > > Mount that directory<br />
> > > <i>If you specified the build classpath and the jars are there,
> > >NetBeans
> > > will mount the jars for you automatically.</i>
> > > </li>
> > > <li>
> > > Mount each of the source directories that you wish to work in
> > > /myproject/WEB-INF/src
> > > </li>
> > > <li>
> > > Always work in the node in #6 when modifying your java files.
> > > </li>
> > > </ol>
> > > <p>
> > > I'll also take this opportunity to tell you that I recommend using
> > >Eclipse. I
> > > was a NetBeans advocate for the longest time, but a few weeks ago
> > >several
> > > discussion had prompted me to try out Eclipse, and I can say without
>a
> > >doubt,
> > > that it is much more mature an IDE than NetBeans. And since they
>are
> > >both Open
> > > Source.....hey....why not?
> > > </p>
> > > <p>
> > > One definite advantage Eclipse has over NetBeans is that Eclipse is
> > >built using
> > > SWT (Standard Widget Toolkit). That means that the IDE is written
>in
> > >Java, but
> > > the underlying framework uses native JNDI calls the OS API.....or,
>in
> > >other
> > > words......"its fast as Hell on windows".
> > > </p>
> > > <p>
> > > Anyone who has left NetBeans running in the background overnight on
>a
> > >laptop
> > > knows the pain of doing an Alt+Tab back to the IDE and seeing how
>Swing
> > >pulls
> > > its rather large A## up from the swap file....heh heh :)
> > > </p>
> > > <p>
> > > Hope that will help you get started. I was planning to post a
>how-to
> > >for doing
> > > this and a few other tasks with NetBeans, Eclipse, and JBuilder. I
>even
> > >have
> > > quite a few screenshots taken, but I just haven't finished it.
> > > </p>
> > > <p>
> > > Good Luck with it!!!
> > > </p>
> > >
> > > </section>
> > >
> > > </chapter></body></document>
> > >
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > ><ma...@jakarta.apache.org>
> >
> >
> > _________________________________________________________________
> > MSN 8 with e-mail virus protection service: 2 months FREE*
> > http://join.msn.com/?page=features/virus
> >
> >
> > --
> > To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
> > For additional commands, e-mail:
><ma...@jakarta.apache.org>
> >
> >
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>