The MailReader WAR from the nightly build deploys just fine, and it
includes the source.
-T.
On 1/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> I believe you mean MainMenuAction.java. Yes, that's been checked in.
>
> --
> Martin Cooper
>
>
> On 1/4/06, Frank W. Zammetti <[EMAIL PROTECTED]> wr
I believe you mean MainMenuAction.java. Yes, that's been checked in.
--
Martin Cooper
On 1/4/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Ted, I can't get to SVN from my current location or I would check for
> myself, but was the issue with that missing class (MainMenu
> something-or-oth
Ted, I can't get to SVN from my current location or I would check for
myself, but was the issue with that missing class (MainMenu
something-or-other I believe) resolved?
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fza
On 12/9/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Of course in Mailreader, all three roles collapse into one (more or
> less). And, since the logging is there mainly to let someone correlate
> the code with what happens when they run it, it's mostly there as trace
> I suspect (not having looke
Hi Ted,
I *finally* got a few minutes to try and look at logging in mailreader,
aside from the general comments I made probably two weeks ago now. I
can confirm an issue that Wendy mentioned to me... when you try and
execute mailreader, specifically, when you try and register yourself,
there
>From: Sean Schofield <[EMAIL PROTECTED]>
> > What is a classpath?
>
> Are you going to be at Apache Con? If so we can get together over
> dinner and I can explain it to you ;-)
>
I'd like to hear about that one too :-).
> > Niall
>
> sean
>
Gary
> -
On 12/10/05, Sean Schofield <[EMAIL PROTECTED]> wrote:
> > What is a classpath?
>
> Are you going to be at Apache Con? If so we can get together over
> dinner and I can explain it to you ;-)
Cool, I'm already there :-)
> > Niall
>
> sean
-
> What is a classpath?
Are you going to be at Apache Con? If so we can get together over
dinner and I can explain it to you ;-)
> Niall
sean
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
> I think my favorites are just managing the import statements,
> identifying unused members, and precompiling the code as I work. It's
> now very rare for me to run a make and have it fail.
Yes I forgot to mention precompiling. That is a HUGE benefit. That
will save you several hours over the l
On 12/9/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
> Sounds like Wendy says it best. I definitely agree that a lot of Java
> users are at a point where they don't know what a class path is, much
> less the importance of ClassLoader hierarchies.
What is a classpath?
Niall
--
On 12/9/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
> I definitely agree that a lot of Java
> users are at a point where they don't know what a class path is, much
> less the importance of ClassLoader hierarchies. It's unfortunate that
> "using an IDE" gets associated with that.
There's "usi
Frank W. Zammetti asked:
> netsql wrote:
> > PS: Debug is for corporate newbies. Pros don't waste time on this,
> > they
> > do this new thing called unit testing ;-). Realy, when
> somone on my team
> > is in debuger, I pull them in my office, and required that
> they improve
> > test coverag
Is this taking the discussion further off topic or bringing it back
towards it's starting point? ;-) Frank's comments below go more to the
heart of what logging should or shouldn't be used for, which has been a
bug-bear of mine for a while...
The key thing is to remember, when writing log stat
Hmm... I set that, did a clean-all, then tried build-all again, but now
the build seemed to lock up trying to get the 1.2.8 JAR... I went to the
store for about an hour and when I came back it hadn't completed and was
on that step. Then, Windows started complaining about running out of
virtual
Wendy Smoak wrote:
(You think I'm _that_ easily offended?!)
Oh no, I know better :) You just happen to be the only woman I know on
the lists, so you were used in the joke by default :)
> I'm just enjoying the war
stories, and trying to guess how old everyone is. When I start
worrying abo
Craig McClanahan wrote:
* Debugging (I usually consider it an admission of defeat when
I can't find bugs by visual inspection, but when you need this
you need it BADLY)
Did I ever tell you the story of the 48-hour marathon debug session I
had leading up to a science fair in 10th grade? Le
Sounds like Wendy says it best. I definitely agree that a lot of Java
users are at a point where they don't know what a class path is, much
less the importance of ClassLoader hierarchies. It's unfortunate that
"using an IDE" gets associated with that.
It's good to get the word out that you can use
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Martin Cooper wrote:
> > My turn to date myself, along with Frank. ;-)
>
> No wories, we're not women :) (Oh boy, I think I see Wendy getting
> ready to fire off a reply - LOL!)
(You think I'm _that_ easily offended?!) I'm just enjoying
On 12/9/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
>
> On 12/9/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> >
> > On 12/9/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> > >
> > > On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> > >
> > > My turn to date myself, along with Frank. ;-
On 12/9/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> On 12/9/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> >
> > On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> >
> > My turn to date myself, along with Frank. ;-)
>
>
> Me too :-).
>
> In my first programming job, I wrote my code
On 12/9/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
>
> On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> My turn to date myself, along with Frank. ;-)
Me too :-).
In my first programming job, I wrote my code on coding sheets. When I was
> done, those would go to a data entry group,
On 12/9/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> As long as everyone uses IDEA, that works. As long as someone is not using
> it, though, those files are going to get broken, because the people who
> don't use IDEA won't be keeping them up to date.
As far as the code formatting goes, in prac
It works well enough though. We have a few developers who don't use
IDEA, but they know the rules and nothing has exploded so far.
Then again, why isn't everyone using IDEA anyway? >:)
On 12/9/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> On 12/9/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
On 12/9/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
>
> We check in our IDEA project files, which includes the code standards.
> Everyone uses those iml and ipr files.
As long as everyone uses IDEA, that works. As long as someone is not using
it, though, those files are going to get broken,
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Martin Cooper wrote:
> > Or maybe I'll claim that I use a UDE - CodeWright's tag line used to be
> > "The Universal Development Environment". ;-) Like UltraEdit, it's
> > customisable up the wazoo. Sadly, it was acquired by Borland not so
We check in our IDEA project files, which includes the code standards.
Everyone uses those iml and ipr files.
On 12/9/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> On 12/9/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
> >I can press
> > ctrl-enter and surround a method with a try/catch block and
Martin Cooper wrote:
My turn to date myself, along with Frank. ;-)
No wories, we're not women :) (Oh boy, I think I see Wendy getting
ready to fire off a reply - LOL!)
In my first programming job, I wrote my code on coding sheets. When I
was done, those would go to a data entry group, who
Ah... what if there's a way to write LESS code? That would be less "bugs".
getters/setters are so yesterday imo. But IDE just makes it
institoalized, and now as layers evelve, you have all this CRUFT
get/sets that are outdated.
Collections is an imporbment, IMO.
Ex: http://groovy.codehaus.org
On 12/9/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote:
>I can press
> ctrl-enter and surround a method with a try/catch block and know that
> my catch block is logging the exception properly without even typing
> anything.
I think my favorites are just managing the import statements,
identifying
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Yeah, I forgot the debugger point :)
>
> Like I said, I've been coding *a lot* of years (25+ at this point)..
> granted, most of that wasn't Java, but still... I've become extremely
> intuitive in my debugging approach. I don't say this
Oh, and another point about IDEs: slowness. You can't just compare the
speed of the Vi text editor to the speed of IDEA's text editor. It
doesn't work that way.
I can type psvm and get a full public static void main
declaration printed out. I can press ctrl-insert and generate getters
and setters
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Bad news though... check this out...
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError
> +
> | Building nightlies Struts Site
> | Memo
Heh, don't have time to read this whole thread right now, but I'd say this:
The IDE and the tools are one of Java's key strengths. We should
embrace those strengths. I'm always amazed by how many Java developers
still don't even know how to debug, or launch Tomcat or Jetty or Resin
from within the
My tact has always been that trace statement should only be used to
trace entry, and perhaps exit, from a method. Anything within a method
is either debug or info as appropriate, with error and fatal being
self-explanatory.
My reasoning is simply that if I have a particularly thorny issue I'm
If you do incrementaled layers.
Like read mail and save it to db, so you write functions:
List lst = mailer.getNewMail(x);
dbxyz.saveMail(lst);
where you do you business work in one class (and you can tell its bus.
since you only import your packages, never other packages in bus. layer).
then
Bad news though... check this out...
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError
+
| Building nightlies Struts Site
| Memory: 253M/254M
+
build:start:
di
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> (Wow, you guys weren't kidding, the build is taking FOREVER! I've done
> it before a few months back, but I don't remember it taking this long...
> I guess all the restructuring and such has an impact).
It's building and acquiring all t
On 12/9/05, Don Brown <[EMAIL PROTECTED]> wrote:
> I'd like to see the logging taken down a notch, but perhaps not completely
> out.
> IMO, Mailreader is there to demonstrate Struts best practices and the
> logging
> statements everywhere make one wonder :) Besides, it gives a false impression
I'm doing a build-all right now so that I can take a look at
mailreader... I admit I haven't really looked at mailreader before much,
so I'm not familiar with how much logging is in there (maybe a good
thing to not be going in with any preconconceived notions). I'm a fan
of logging, but I agre
Sean Schofield wrote:
That's a pretty specialized case. I haven't tried it but I don't see
why not. Most IDE's allow you to plug in your own JDK.
It's not special to work on a JDK before it's supported at all. Eclipse
took a long time to support JDK 5.
Try it, it does not work in eclipse,
I don't see how they are comparable though...
Unit testing will tell you if there is a bug (in either the unit test
code or the code under test), and debugging is how you go about finding
and correcting the bug.
How is one worth less than the other? And what good is unit testing
without deb
Ted Husted wrote:
This thread started with a comment that we should leave the debug
logging in MailReader to appeal to the "lowest common denominator".
But, I think this thread shows that extensive logging appeals to the
other end of the spectrum :)
I'd like to see the logging taken down a notc
Frank I think deubuging is < unit testing.
Plus it makes your code more readable.
.V
Frank W. Zammetti wrote:
netsql wrote:
Pros don't waste time on this,
they do this new thing called unit testing ;-). Realy, when somone on
my team is in debuger, I pull them in my office, and required that
Ted Husted wrote:
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
I long ago stopped trying to convince anyone that they should do things my way,
I don't think a lot of people could :)
After all, how many developers can
look at the code for a little while and then say "ok, chang
Sean Schofield wrote:
An IDE can do anything a text editor can do that's for sure.
It's maybe a minor quibble, but I would disagree with that. Go check
the feature set of UltraEdit and find an IDE that has all those
features. I've never seen an IDE with column mode for instance.
Like I s
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I long ago stopped trying to convince anyone that they should do things my
> way,
I don't think a lot of people could :)
After all, how many developers can
> look at the code for a little while and then say "ok, change X to Y and try
>
> There are plenty of way to debug. But what if you need to test Java 6
> features BEFORE it's set in stone?
> (Like I tried it, reported a bug w/ JDIC and Sun fixed it).
> Does Java 6 work in your IDE?
That's a pretty specialized case. I haven't tried it but I don't see
why not. Most IDE's allo
Paul Speed wrote:
Plus, I type really fast. In the time it takes some programmers to
figure out where they want to set their break-points, setup their
watches, etc... I've already put my log statements in, recompiled, and
started running.
Me too :) I actually had the Army typing record at F
netsql wrote:
PS: Debug is for corporate newbies. Pros don't waste time on this, they
do this new thing called unit testing ;-). Realy, when somone on my team
is in debuger, I pull them in my office, and required that they improve
test coverage more granular and more layers of indircection. Deb
Sean Schofield wrote:
I don't buy the argument that IDE's are slow. I agreed with
that argument when the first java based IDE's emerged in the 90's but
we're way past that point. You can also turn off most of the
questionably helpful stuff that you are complaining about.
Then what would be th
Yeah, I forgot the debugger point :)
Like I said, I've been coding *a lot* of years (25+ at this point)..
granted, most of that wasn't Java, but still... I've become extremely
intuitive in my debugging approach. I don't say this with an ego...
which is rare for me! :) ... but I can't tell you
On 12/9/05, Paul Speed <[EMAIL PROTECTED]> wrote:
> This is a valid point and debuggers have really come a long way. I
> still use the logging method personally because I've found debuggers
> dull my ability to see the bugs early.
Ah, well, you might not be using the "debugger" early enough :)
I
There are plenty of way to debug. But what if you need to test Java 6
features BEFORE it's set in stone?
(Like I tried it, reported a bug w/ JDIC and Sun fixed it).
Does Java 6 work in your IDE?
Groovy?
ObjectiveC?
WinFX?
Does IDE work on Vista, OSX and Fedora?
gVim does. (Graphical Visual Edit
Sean Schofield wrote:
Ummm... I guess you guys don't do a lot of debugging then? You would
rather imagine what a value was a certain point in time rather then
actually know what is was? If you never make mistakes then there is
no issue but if you think a value is 'x' it only take 5 seconds t
Ummm... I guess you guys don't do a lot of debugging then? You would
rather imagine what a value was a certain point in time rather then
actually know what is was? If you never make mistakes then there is
no issue but if you think a value is 'x' it only take 5 seconds to be
100% sure. Of course
That's a good point Greg, and it applies for me too... I have a number
of different IDEs installed, and on occassion I will use a feature of
one or another... I've pulled stuff into IDEA and used its code
inspectors for example. I've used an Eclipse plug-in here and there
too. So it's not lik
Amen.
At work I'm fond of saying "Eclipse is the devil". :) It gives you tons
of power (tons!) and then every now and then sends you on a two hour
hunt to figure why the right jars aren't getting picked up or some weird
auto-format thing that can't be turned off (yet in this version or
whate
On Dec 9, 2005, at 8:02 AM, Sean Schofield wrote:
Please keep in mind that there are still a good number of people
who do
not use an IDE at all.
Why on earth would you someone do such a thing? Seriously. I'd like
to know :-)
Bragging rights, what else :-)
There are occasions when I si
You realize of course that such a topic can only lead to an IDE war :) LOL!
I've tried I think every major IDE out there, as well as plenty of
lesser known ones. Some I've maybe not given a fair shake to because I
found something that I *really* didn't like right away, but most of them
I've s
> Please keep in mind that there are still a good number of people who do
> not use an IDE at all.
Why on earth would you someone do such a thing? Seriously. I'd like
to know :-)
> Frank W. Zammetti
sean
-
To unsubscribe, e-m
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> F:\struts_current\apps>
Mea culpa. I should have said to change to the current/build folder
and run build-all.
And I should have also said: For more on the Maven build, see
* http://wiki.apache.org/struts/StrutsMaintenanceMaven
-Ted.
-
That's because we (or most of us) already have the source downloaded
and built (which puts the binaries in our local repos). Since this
isn't true for you, you might want to grab a nightly and put the jars
in ~/.maven/repository/struts/jars/
So, for windows, that would be something like th
Well, that didn't go so good :)
I checkout out as described, but when I tried to build, I got:
F:\struts_current\apps>maven build-all
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download struts-action-1
On 12/8/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> * current/app/mailreader/target/mailreader-1.3.0-dev.war
s/mailreader-1.3.0-dev.war/struts-mailreader.war
-T.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
On 12/8/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I have to ask the silly question now... where is this checked into?I'm
> not terribly familiar with the structure in SVN at this point, just want
> to be sure I grab the right stuff.
It's under apps/mailreader. So the short answer is t
On Thu, December 8, 2005 8:37 am, Ted Husted said:
> Hmmm, it's not so much a 1.5 thing. It's just that the calls to the
> logging statements were refactored, along with everything else. It
> would just be nice if someone tested the debug logging in whatever
> version of Java you already use. I'm s
On 12/7/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I'll try and take a look tomorrow night. I'll have to build a quick VM
> to install 1.5, but that's not a big deal (is there any piece of sofware
> cooler than VMWare??)
Hmmm, it's not so much a 1.5 thing. It's just that the calls to the
Martin Cooper wrote:
Perhaps Xen? ;-)
I'd never heard of it before... definitely does look cool. I'm a
Windows guy though, and it doesn't look like Windows is supported as a
guest or a host. Probably not my cup of tea :)
I'll have to keep an eye on it regardless. Even though I've never h
On 12/7/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> I'll try and take a look tomorrow night. I'll have to build a quick VM
> to install 1.5, but that's not a big deal (is there any piece of sofware
> cooler than VMWare??)
Perhaps Xen? ;-)
--
Martin Cooper
Right now I have my brain en
I'll try and take a look tomorrow night. I'll have to build a quick VM
to install 1.5, but that's not a big deal (is there any piece of sofware
cooler than VMWare??)
Right now I have my brain engaged in this little JSDigester project of
mine, and I don't want to switch gears until that's done
On 12/7/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Please keep in mind that there are still a good number of people who do
> not use an IDE at all. I would take the stance that an example that
> will have a large audience should tailor to the lowest common
> denominator, and that would be
On 12/7/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> This is done by editing
> $JDK_HOME/jre/lib/logging.properties and adding lines like:
>
> org.apache.struts.level = FINEST
>
> to get trace-level debugging from every Struts class. However, there is an
> additional uber-limit on the
On 12/7/05, Don Brown <[EMAIL PROTECTED]> wrote:
> Oh, how I hate logging with Tomcat 5.5. It says they removed the localhost
> log,
> sending the data to stdout, but I can never find it. I have to throw log4j in
> there at the Tomcat level and direct things its way.
Hmmm, there's a localhost l
On 12/7/05, Ted Husted <[EMAIL PROTECTED]> wrote:
>
> So, if I'm deploying Tomcat 5.5. and compiling MailReader under Java
> 1.5, what do I need to do to adjust the logging level past "INFO".
I don't know the details of how Tomcat 5.5 is configured (and don't have it
on my laptop to check), but *
Ted Husted wrote:
It's much easy to debug a web application in an IDE these
days, and the logging statements tend to complicate the design.
Please keep in mind that there are still a good number of people who do
not use an IDE at all. I would take the stance that an example that
will have a
Oh, how I hate logging with Tomcat 5.5. It says they removed the localhost log,
sending the data to stdout, but I can never find it. I have to throw log4j in
there at the Tomcat level and direct things its way.
Once you figure it out, we probably should have a faq entry about it somewhere.
D
So, if I'm deploying Tomcat 5.5. and compiling MailReader under Java
1.5, what do I need to do to adjust the logging level past "INFO".
Which begs the question: Do we still need so much logging in the
MailReader? It's much easy to debug a web application in an IDE these
days, and the logging state
77 matches
Mail list logo