Re: [jug-discussion] Google Insider

2005-04-22 Thread Vincent . Greene
Try www.randmcnally.com.  Use the trip planner and you can add all kinds of 
stops and get detailed driving directions and maps.---BeginMessage---
Say Nick -

  After you become a Google Insider...maybe you can figure out if the
Maps engine  http://maps.google.com/ can be asked to map multiple
locations? ;-)

We already know that doing a local search will plot multiple found
locations... but I want to provide the list of locations...and then ask
it to give me directions from point A to C to B.

And while you're at it, I want a web-service so I can tie into it.
grin

I'm betting other JUG'rs might be interested in that too. 

BTW -- the folks at Google rock. :-)

Cheers,
Timo

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---End Message---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [jug-discussion] Eclipse question

2004-09-01 Thread Vincent . Greene
I think you are thinking of Simon -- he's the man that knows about writing Plugins and 
using SWT.  Unfortunately he is off to New Zealand for a couple weeks, so it looks 
like you get to read that big PDF.

For your CVS issue, you might try the Filters option on Package Explorer title bar 
pull down menu (the little down arrow).  It has a bunch of options to control the 
types of resources that display.  I have searched my configuration and don't see 
anything special that I have set up to exclude the CVS files, but they do not show on 
my system.---BeginMessage---
So after a bit of work, I've got Eclipse 3.0 running, compiling and building
the TimTam plugin.

I've got some newbie questions which I'm sure Vince will be happy to answer.
grin

Is there a way to magically hide all of the *.CVS entries in the src tree? 
Note: I created a working set, but that seems like the long way around. The
filter by name *.CVS did the trick too, but again, seems like I might be
missing something. I looked in the preferences:Team:CVS but found no love
there.

Is there a quick and dirty tutorial on creating plug-ins so I can start to
understand this code without reading the 979 page PDF on plug-in
development?

Thanks,
Tim




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---End Message---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [jug-discussion] Pet Peave

2003-11-10 Thread Vincent Greene
On a unix machine with a bash shell, assuming all of your project jars are
in the same directory:

for J in *.jar; do echo $J; jar tvf $J | grep Classname  ; done

Substitute your unqualified classname for Classname and you will get
something like:

# for J in *.jar; do echo $J; jar tvf $J | grep Put  ; done
ladmin.jar
netfile.jar
pgpservlet.jar
put.jar
  7895 Fri Jan 14 21:18:04 MST 2000 PutHandler.class
redirector-1.4.jar


This shows that the class is in the put.jar file.

Mike Oliver wrote:

 So how many of you have found a reference to a class, and can't find out
 which *^%$ jar it is located in?

 What do you do when you have this problem?

 Ollie

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jug-discussion] March Meeting Problem

2003-03-11 Thread Vincent Greene
+1 Happy hour - Doubletree

Simon Ritchie wrote:

 Unfortunately, our main presenter has had an emergency and has been
 forced to cancel tonight's presentation.

 She has offered to do the presentation again in May, but unless someone
 has a presentation ready, we are left with a couple of alternatives:

 1. We have the first Tucson JUG Happy Hour at Nimbus or The Double Tree

 OR

 2. We meet, have the 15 min presentation on JAXB, and chat.

 Please cast your votes.

 Simon.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jug-discussion] I've always wondered... [element names inclosing tags in XML]

2003-02-25 Thread Vincent Greene
If you are concerned about size, compress it.  The Zip classes use a compression
algorithm that assigns tokens to commonly occuring strings.  The net result is
compression of a database represented in XML tends to give incredible compression
rates as it takes all of those long repeated tags and compresses them to small
tokens.

I use zip compression for a database we transfer using XML, and regularly achieve
90%+  compression.  One example is a 26M XML document that compresses to 933k.  In
fact, the compressed version of the XML takes less storage than the original
database.

You could also easily write a Filter to convert to and from your / tag format.

I think the idea of abbreviated end tags has some merit, and I can see cases where
I would prefer it.


William H. Mitchell wrote:

 At 12:38 AM 2/22/03 -0700, Martin wrote:
 
 My guess is to help humans match the tags that may be pages apart.

 A good editor should be able to handle that.

 At 08:10 AM 2/22/03 -0700, Vincent wrote:
 I would  assume it would make it easier for the parser to find problems like:
 
 a1b2c3//
 
 So a tag is missing, which one? ...

 One answer is that the document is not well-formed and there's no way to
 determine what it should be.

 Another is that a / tag would simply close the nearest unclosed element.
 By that, it's the a that's not matched.

 Based on a few samples I've observed that element names in closing tags
 typically amount to 10-30% of the text in an XML document that's a database
 of some sort, like a catalog.  That strikes me as a significant amount of
 overhead, but that's of course good news for hardware manufacturers... :)

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jug-discussion] dec. presentation recap

2002-11-14 Thread Vincent Greene
+1 for O/R tools.

I don't think EJB counts as an O/R tool, and the EJB vs. O/R tools
discussion would make a fine topic all by its self.  I would especially
like to see a knowledgable proponent for each duke it out.  Maybe we
could find an impartial (hah!) moderator.

Warner Onstine wrote:

 Ok,
 Before we get too deep here, I would like to know if we have enough
 +1's for O/R tools for the meeting:
 Tim +1
 Warner +1
 Nick +1 (even if no EJB?)
 Andy +1
 Tom Hicks +1

 I'll throw in Drew's +1, because he asked me about Torque a while ago,
 but I don't know if he'll be able to make it and I know Randy was
 curious as well (he was the one who pointed me towards Hibernate).

 Now, anyone else? I would like to see a few more votes (from people
 that regularly attend - no offense) before locking this down. Plus I
 don't know if Simon had any other possible presenters lined up, Simon?

 Thank you for your time, you may now return to your previously
 scheduled program.

 -warner

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [jug-discussion] dec. presentation/jan. presentation

2002-11-14 Thread Vincent Greene
Sick!

Shouldn't that be s/\+1/\+2/g  anyway?

Mike Oliver wrote:

 s/+1/+2/g

 Michael Oliver
 AppsAsPeers LLC
 7391 S. Bullrider Ave.
 Tucson, AZ 85747
 Phone:(520)574-1150
 Fax:(520)844-1036

 -Original Message-
 From: Thomas Hicks [mailto:hickst;tohono.com]
 Sent: Thursday, November 14, 2002 2:15 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [jug-discussion] dec. presentation/jan. presentation

 At 02:03 PM 11/14/2002 -0700, you wrote:
 Let's keep the current presentation to 4 tools (max), please vote for
 your
 favorite.
 
 Castor (castor.exolab.org)

 +1

 Hibernate (http://hibernate.sourceforge.net/)

 +1

 Torque (jakarta.apache.org/turbine/torque)

 +1

 OJB (jakarta.apache.org/ojb)

 +1

  -tom

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [jug-discussion] Eclipse Tips and Tricks

2002-09-11 Thread Vincent Greene

In Eclipse, you would accomplish the same thing by clicking on the yellow
quick fix thingy that it puts in the margin to the left of the
statement.  It will present a menu of possible fixes, including adding an
import statement or qualifying the name.  You can also highlight the
class name, right click and select Source-Add Import.

At risk of starting a flame war, you can also use the organize imports
function the same menu to put your imports in a particular sequence.  In
the Java preferences, you can also specify a number of classes from any
package that it will use before it inserts a * import.  Mine is set to
1 - since I LIKE * imports.

Here's some of my favorites that I use daily:

- Ctrl-Space for syntax assist.
- Templates:  enter for and hit Ctrl-Space and you get a list of
possible completions, including iteratate over an array, iterate over and
array with a temporary variable, and iterate over a collection.  If you
pick one of these, it inserts the appropriate code for you.
- Shift Right and Shift left from the Source menu will shift the code you
have selected.
- All of the cvs functions - especially the way it displays differences
between you code and the repository.
- Right click on a class in the packages view and you get some pretty
cool options.  I especially like Generate getter and setter and override
methods.  With the Override methods function, all you need to do to add
shells for the required methods for an interface is to add the interface
to the implements list on the class and select override methods.
- The extract method refactoring function lets you highlight some code
and extract it to another method.  It automatically detects the required
parameters.  Even if you don't finish the refactoring, this lets you very
easily determine the inputs and outputs from any block of code.
- In the source, highlight a method name, class name, or variable - right
click and select Open Declaration and it will open the approraite class
or method for editing.
- Highlight code and right-click to surround with try-catch block to
generate a try-catch block that catches any checked exceptions that code
can throw.
- All of the search functions from the context menu are awesome.  Like
finding all references to a method while working on that method.  BTW -
they are VERY fast.

There are keyboard accelerators for most of these things, but I am a
mouse type of guy.



Ray Ramos wrote:

 Hello All,

 As a new Eclipse user, along with many others in this
 JUG, I was hoping I could get some tips from the more
 expearienced users.  For example, in NetBeans, if you
 forget to import a class, put the cursor on the class
 name in your source code, press shft-alt-I, and
 NetBeans will insert an import statement.  Very handy.

 I'm hoping to do the same with Eclipse so that I can
 upgrade it from 'way cool' to 'super dope' and
 everyone using Eclipse in the JUG can get a little
 more productive.  No trick or tip is too basic since I
 don't know any.

 Thanks, Ray

 __
 Yahoo! - We Remember
 9-11: A tribute to the more than 3,000 lives lost
 http://dir.remember.yahoo.com/tribute

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [jug-discussion] Eclipse Stupidity Continues!

2002-07-17 Thread Vincent Greene

Just unpack at the root of your eclipse install (c:\eclipse) using
folders and it will install itself into the proper plugin folders.

You might need to restart the IDE before it takes effect.  It is a pretty
well hidden project.  Basically, it will add an XML Editor that is linked
by default to any .xml files in the file associations.  One gotcha is
that eclipse tends to remember the last editor you used to open
something, so it might fall-back to the text editor when you double-click
an xml file you have opened before.  Either way, if you right-click and
select Open With, you should see an XML editor as an option.

Once you get it installed, you might want to consider setting file
associations for *.htm and *.htm to the XML editor since it will then
colorize you HTML nicely.  For some reason *.htm? doesn't work.

I haven't looked at the help since 2.0 came out, so it must not have
changed.  The help has always been more focused on developers of Eclipse
than users.

Lesiecki Nicholas wrote:

 Hello, sorry to bother the group with newbie questions, but
 the Eclipse help seems to primarily be designed for
 Eclipse developers.

 Ok, so I'm trying to install the solareclipse plugin, and
 I've tried tossing it in the root of the eclipse install
 and also the plugins folder, no success. So I tried using
 the update manager which instructs me to type in a web
 address to search for plugins on. The sourceforge page for
 solareclipse
 (http://sourceforge.net/projects/solareclipse/) did not
 turn up new plugins.

 The eclipse doccos all concern themselves with what to do
 after finding an update site, so if someone could point me
 at the exact URL I need from solareclipse to make the IDE
 happy I'd appreciate it.

 Cheers,

 Nick

 __
 Do You Yahoo!?
 Yahoo! Autos - Get free new car price quotes
 http://autos.yahoo.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [jug-discussion] Eclipse - was RE: [jug-discussion] Second time a charm

2002-06-25 Thread Vincent Greene

It might be obvious, but I missed it for several weeks...

You should also create file associations in Eclipse
(Window-preferences-Workbench-File Associations) mapping *.htm and *.html to the
XML editor to get colorized HTML source.

Art Gramlich wrote:

 Simon,

 Good call on http://sourceforge.net/projects/solareclipse/. I missed it.

 I'm not sure if anyone else has mentioned this site, but it tries to make a
 list of available plug-ins.

 http://eclipse-plugins.2y.net/eclipse/index.jsp

 Another cool plug-in is Slime (a uml tool).   It's not really up to snuff
 yet though.
 http://www.mvmsoft.de

 -Original Message-
 From: Simon Ritchie [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 24, 2002 9:29 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [jug-discussion] Second time a charm

 Thomas Hicks wrote:

 
  Ah...now comes the learning curve.

 Since there seem to be a number of people trying out Eclipse right now.
 I thought it might be useful to post some of the preference settings I
 use. There are quite a lot of preferences and they can really alter the
 look and behaviour of the product. Everyone has their own way of
 configuring these things, but perhaps seeing the possibilities will help.

 Also, I would recommend installing the solar eclipse plug-in for editing
 XML. You can find it at http://sourceforge.net/projects/solareclipse/.
 It's a simple colorizing editor, but it is better than the default editor.

 The preferences pane is found under the menu WindowPreferences. The
 following refer to the individual preference panes:

 Workbench-Label Decorations-CVS: checked
 This displays the CVS revision number (and other attributes) of each
 file in the workspace. A '' is placed by default in front of changed
 files. Use Team-CVS-Label Decorations to control what decorators are used.

 External Tools-Ant-Jars: Add the jar 'c:\eclipse\workspace\Workspace
 Extensions\amoanttask.jar'.
 This is where you can add jar files containing your own Ant tasks.

 Java-Code Formatter-Line Splitting-Maximum Line Length: 160
 I hate the default of 80 - but that's just me.

 Java-Compiler-Errors and WarningsUsage of deprecated API: Ignore
 Some programmers prefer not to see the deprecated warnings.

 Java-Organize Imports-Number of qualified imports before .* is used: 1
 This causes Eclipse to always use .* at the end of qualified import
 statements. By default this value is 99 so you get a separate import
 statement for every class referred to.

 Team-CVS-Label Decorations-Indicate is outgoing: not checked
 Team-CVS-Label Decorations-Indicate has remote: not checked
 Team-CVS-Label Decorations-Indicate is added: not checked
 These settings make the icons used in the package view a little
 easier to understand.

 There are other defaults in the Java Perspective I change too.
 1. I close the Outline View - I don't use it.
 2. On the packages view I click the 'hide fields' button at the top of
 the view. I also change the filters on the package view to hide
 referenced libraries - I'm not interested in seeing which jar files a
 project uses.
 3. On the Tasks view I change the filter to only show items 'on any
 resource in same project'. This allows me to only see errors and
 warnings a project at a time.

 Simon.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]