Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23723 > unrolled thread

Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser)

Started bygalois271@gmail.com
First post2013-04-29 20:25 -0700
Last post2013-04-30 09:18 -0400
Articles 20 on this page of 24 — 7 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) galois271@gmail.com - 2013-04-29 20:25 -0700
    Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-30 09:00 +0100
      Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) galois271@gmail.com - 2013-04-30 05:47 -0700
        Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-30 14:27 +0100
          Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) galois271@gmail.com - 2013-04-30 07:07 -0700
            Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Lew <lewbloch@gmail.com> - 2013-04-30 12:30 -0700
              Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-30 20:53 +0100
                Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Chuck Johnson <galois271@gmail.com> - 2013-04-30 13:05 -0700
                Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Arne Vajhøj <arne@vajhoej.dk> - 2013-04-30 21:26 -0400
                  Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-01 06:55 +0100
                    Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 03:22 -0400
                      Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Joerg Meier <joergmmeier@arcor.de> - 2013-05-01 13:10 +0200
                        Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-02 16:44 +0100
                      Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 20:27 -0400
                        Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Jeff Higgins <jeff@invalid.invalid> - 2013-05-02 11:33 -0400
                    Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 20:23 -0400
                      Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Lew <lewbloch@gmail.com> - 2013-05-01 18:38 -0700
                        Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-02 16:35 +0100
                          Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Lew <lewbloch@gmail.com> - 2013-05-02 12:29 -0700
                            Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 19:46 -0400
                              Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Lew <lewbloch@gmail.com> - 2013-05-02 18:22 -0700
                                Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 21:54 -0400
                            Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-03 13:34 +0100
    Re: Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser) Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 09:18 -0400

Page 1 of 2  [1] 2  Next page →


#23723 — Including JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser)

Fromgalois271@gmail.com
Date2013-04-29 20:25 -0700
SubjectIncluding JAR files in Eclipse 4.2, specifically Rome (RSS Feed parser)
Message-ID<77e07a91-5fa7-4d84-a19f-8d34dea71784@googlegroups.com>
Hi all,

I am new to putting third party files/libraries/JARS  whatever you want to call them into my projects using Eclipse.  I, specifically, want to include Rome, the RSS Feed parser, into my Java project in Eclipse.  Rome depends on JDOM.  

Can anyone tell me how to do this?  I tried installing "External JARS", but I keep getting this in Eclipse:

"The type org.jdom.Document cannot be resolved. It is indirectly referenced from required .class files"

Here is my code:

import java.net.*;
import java.io.*;
import java.util.Iterator;

import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.SyndFeedInput;
import com.sun.syndication.io.XmlReader;

public class EclipseTest
{

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException 
	{
		URL url  = new URL("http://viralpatel.net/blogs/feed");
	    XmlReader reader = null;
	     
	    try {
	      
	      reader = new XmlReader(url);
Error->	      SyndFeed feed = new SyndFeedInput().build(reader);
	      System.out.println("Feed Title: "+ feed.getAuthor());
	 
		     for (@SuppressWarnings("rawtypes")
			Iterator i = feed.getEntries().iterator(); i.hasNext();) 
		     {
		        SyndEntry entry = (SyndEntry) i.next();
		        System.out.println(entry.getTitle());
		     }
	    } 
	    finally 
	    {
	            if (reader != null)
	                reader.close();
	    
	    }
	}

}


Thanks a ton!

[toc] | [next] | [standalone]


#23724

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-04-30 09:00 +0100
Message-ID<OqidnQrflrmK5-LMnZ2dnUVZ7s-dnZ2d@bt.com>
In reply to#23723
On 30/04/13 04:25, galois271@gmail.com wrote:
> Hi all,
>
> I am new to putting third party files/libraries/JARS  whatever you want to call them into my projects using Eclipse.  I, specifically, want to include Rome, the RSS Feed parser, into my Java project in Eclipse.  Rome depends on JDOM.
>
> Can anyone tell me how to do this?  I tried installing "External JARS", but I keep getting this in Eclipse:
>
> "The type org.jdom.Document cannot be resolved. It is indirectly referenced from required .class files"

Sounds like you're missing a jar file
the distribution site for your third party lib should list all required 
dependencies.

You could try refreshing your project
also check out the .classpath xml file in your project root
I've had to manually tweek this in the past to get things working.

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23725

Fromgalois271@gmail.com
Date2013-04-30 05:47 -0700
Message-ID<6f335201-9cf3-433e-8b20-dc37553aa9c2@googlegroups.com>
In reply to#23724
> > "The type org.jdom.Document cannot be resolved. It is indirectly referenced from required .class files"

> Sounds like you're missing a jar file
> 
> the distribution site for your third party lib should list all required 
> 
> dependencies.
 
> You could try refreshing your project
> 
> also check out the .classpath xml file in your project root
> 
> I've had to manually tweek this in the past to get things working.
> 
> 
> 
> lipska
> 
> 
> 
> -- 
> 
> Lipska the Kat©: Troll hunter, sandbox destroyer
> 
> and farscape dreamer of Aeryn Sun

I have put all the JDOM and ROME files into the project and refreshed, but I am still getting the above error.  I don't know anything about the .classpath xml file.  ??

Thanks, though!

[toc] | [prev] | [next] | [standalone]


#23728

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-04-30 14:27 +0100
Message-ID<TMudnUsA0c5cW-LMnZ2dnUVZ8sWdnZ2d@bt.com>
In reply to#23725
On 30/04/13 13:47, galois271@gmail.com wrote:
>
>>> "The type org.jdom.Document cannot be resolved. It is indirectly referenced from required .class files"
>
>> Sounds like you're missing a jar file

OK, I downloaded rome-1.0 and jdom-2.0.5

I created a new project, copied you code into it, added the jars to the 
build path and got the same error as you are getting.

So, I downloaded jdom-1.1.3, added this to the build path and removed 
jdom-2.0.5, after changing throws IOException to throws Exception the 
project built with no errors.

Try adding jdom-1.1.3 and removing jdom-2.0.5 ... works for me.

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23732

Fromgalois271@gmail.com
Date2013-04-30 07:07 -0700
Message-ID<73463b63-b956-45d7-bce0-22b9235ad0ad@googlegroups.com>
In reply to#23728
> So, I downloaded jdom-1.1.3, added this to the build path and removed 
> 
> jdom-2.0.5, after changing throws IOException to throws Exception the 
> 
> project built with no errors.
> 
> 
> 
> Try adding jdom-1.1.3 and removing jdom-2.0.5 ... works for me.
> 
> 
> 
> lipska
> 
> 
> 
> -- 
> 
> Lipska the Kat�: Troll hunter, sandbox destroyer
> 
> and farscape dreamer of Aeryn Sun

Thanks guys!  I did like 10 searches with the error and saw nothing but sites about JDOM & Rome capabilities.  ??

[toc] | [prev] | [next] | [standalone]


#23743

FromLew <lewbloch@gmail.com>
Date2013-04-30 12:30 -0700
Message-ID<4a675fff-5298-44d7-80b5-941c52a69ff0@googlegroups.com>
In reply to#23732
Chuck Johnson wrote:
> > So, I downloaded jdom-1.1.3, added this to the build path and removed 
> > jdom-2.0.5, after changing throws IOException to throws Exception the 

It is better to catch the specific 'Exception', and worth the effort to find out which 
one that is.

>> project built with no errors.

What about warnings?

How rigorous are your warning settings?

I recommend resolving the dependencies at the command line, using Ant, first.
Then work through the project "Build Path" in Eclipse to ensure that it matches.

Without a doubt you are missing a piece therein. Since your posts lack specifics it 
is very difficult to be specific in turn.

Eclipse should not be your primary build environment.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#23744

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-04-30 20:53 +0100
Message-ID<vqCdnXadwpXYvB3MnZ2dnUVZ8tSdnZ2d@bt.com>
In reply to#23743
On 30/04/13 20:30, Lew wrote:
> Chuck Johnson wrote:
>>> So, I downloaded jdom-1.1.3, added this to the build path and removed
>>> jdom-2.0.5, after changing throws IOException to throws Exception the
>
> It is better to catch the specific 'Exception', and worth the effort to find out which
> one that is.

Are you sure you know who you are replying to Bloch local?

>>> project built with no errors.
>
> What about warnings?
>
> How rigorous are your warning settings?

None of your bloody business

> I recommend resolving the dependencies at the command line, using Ant, first.
> Then work through the project "Build Path" in Eclipse to ensure that it matches.
>
> Without a doubt you are missing a piece therein. Since your posts lack specifics it
> is very difficult to be specific in turn.

The OP has it working now Bloch so why don't save your breath.

> Eclipse should not be your primary build environment.

What the hell are you saying now you idiot.
I can only assume you think you are responding to the OP.

You don't use Ant to build a simple single class that only exists to 
test your path do you? why are you spreading this mis-information, why 
do you have to over-complicate everything? KISS.

You can build with Ant in Eclipse, I've built huge systems with Ant in 
Eclipse, Eclipse is a great build tool it's my primary build 
environment. Don't listen to Bloch local OP, Eclipse is a great build 
tool, loads of professional developers I know use Eclipse as their 
primary build environment.

Stop spreading mis-information.

... And who's this Chuck Johnson geezer

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23746

FromChuck Johnson <galois271@gmail.com>
Date2013-04-30 13:05 -0700
Message-ID<13af7938-afce-4074-a08c-77503ab697aa@googlegroups.com>
In reply to#23744
On Tuesday, April 30, 2013 2:53:34 PM UTC-5, lipska the kat wrote:
> On 30/04/13 20:30, Lew wrote:
> 
> > Chuck Johnson wrote:
> 
> >>> So, I downloaded jdom-1.1.3, added this to the build path and removed
> 
> >>> jdom-2.0.5, after changing throws IOException to throws Exception the
> 
> >
> 
> > It is better to catch the specific 'Exception', and worth the effort to find out which
> 
> > one that is.

Hmm...?  I didn't write anything after the thanks post, so I don't know how this comment about throwing exceptions got up here.  It wasn't me.   ??

[toc] | [prev] | [next] | [standalone]


#23754

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-04-30 21:26 -0400
Message-ID<51806f66$0$32104$14726298@news.sunsite.dk>
In reply to#23744
On 4/30/2013 3:53 PM, lipska the kat wrote:
> On 30/04/13 20:30, Lew wrote:
>> Chuck Johnson wrote:
>>>> So, I downloaded jdom-1.1.3, added this to the build path and removed
>>>> jdom-2.0.5, after changing throws IOException to throws Exception the
>>
>> It is better to catch the specific 'Exception', and worth the effort
>> to find out which
>> one that is.
>
> Are you sure you know who you are replying to Bloch local?

No reason to think he don't.

>>>> project built with no errors.
>>
>> What about warnings?
>>
>> How rigorous are your warning settings?
>
> None of your bloody business
>
>> I recommend resolving the dependencies at the command line, using Ant,
>> first.
>> Then work through the project "Build Path" in Eclipse to ensure that
>> it matches.
>>
>> Without a doubt you are missing a piece therein. Since your posts lack
>> specifics it
>> is very difficult to be specific in turn.
>
> The OP has it working now Bloch so why don't save your breath.

That something is working does not mean that good advice can
not be given.

>> Eclipse should not be your primary build environment.
>
> What the hell are you saying now you idiot.
> I can only assume you think you are responding to the OP.
>
> You don't use Ant to build a simple single class that only exists to
> test your path do you? why are you spreading this mis-information, why
> do you have to over-complicate everything? KISS.
>
> You can build with Ant in Eclipse, I've built huge systems with Ant in
> Eclipse, Eclipse is a great build tool it's my primary build
> environment. Don't listen to Bloch local OP, Eclipse is a great build
> tool, loads of professional developers I know use Eclipse as their
> primary build environment.
>
> Stop spreading mis-information.

It is very bad practice to use the IDE as primary build environment
(at least if we assume that primary means the official builds).

The risk of stuff not checked into source control being included
in the build and build options being development oriented instead
of production oriented is way too big.

But if the original code posted is just a SSCCE to illustrate
the problem, then I can not see a problem in this specific case
either.

> ... And who's this Chuck Johnson geezer

OP

Arne

[toc] | [prev] | [next] | [standalone]


#23756

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-05-01 06:55 +0100
Message-ID<obGdnd1NXPzQMx3MnZ2dnUVZ8sadnZ2d@bt.com>
In reply to#23754
On 01/05/13 02:26, Arne Vajhøj wrote:
> On 4/30/2013 3:53 PM, lipska the kat wrote:
>> On 30/04/13 20:30, Lew wrote:
>>> Chuck Johnson wrote:
>>>>> So, I downloaded jdom-1.1.3, added this to the build path and removed
>>>>> jdom-2.0.5, after changing throws IOException to throws Exception the
>>>
>>> It is better to catch the specific 'Exception', and worth the effort
>>> to find out which
>>> one that is.
>>
>> Are you sure you know who you are replying to Bloch local?
>
> No reason to think he don't.
>
>>>>> project built with no errors.
>>>
>>> What about warnings?
>>>
>>> How rigorous are your warning settings?
>>
>> None of your bloody business
>>
>>> I recommend resolving the dependencies at the command line, using Ant,
>>> first.
>>> Then work through the project "Build Path" in Eclipse to ensure that
>>> it matches.
>>>
>>> Without a doubt you are missing a piece therein. Since your posts lack
>>> specifics it
>>> is very difficult to be specific in turn.
>>
>> The OP has it working now Bloch so why don't save your breath.
>
> That something is working does not mean that good advice can
> not be given.
>
>>> Eclipse should not be your primary build environment.
>>
>> What the hell are you saying now you idiot.
>> I can only assume you think you are responding to the OP.
>>
>> You don't use Ant to build a simple single class that only exists to
>> test your path do you? why are you spreading this mis-information, why
>> do you have to over-complicate everything? KISS.
>>
>> You can build with Ant in Eclipse, I've built huge systems with Ant in
>> Eclipse, Eclipse is a great build tool it's my primary build
>> environment. Don't listen to Bloch local OP, Eclipse is a great build
>> tool, loads of professional developers I know use Eclipse as their
>> primary build environment.
>>
>> Stop spreading mis-information.
>
> It is very bad practice to use the IDE as primary build environment
> (at least if we assume that primary means the official builds)

The OP had a problem with Eclipse, as it turns out it was actually a 
problem with incompatible third party components. 'Helping' the OP by 
telling him not to use Eclipse to build his project wasn't really 
answering the question was it.

lipska
-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23760

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 03:22 -0400
Message-ID<klqfjs$r5h$1@dont-email.me>
In reply to#23756
On 05/01/2013 01:55 AM, lipska the kat wrote:
>
> The OP had a problem with Eclipse, as it turns out it was actually a
> problem with incompatible third party components. 'Helping' the OP by
> telling him not to use Eclipse to build his project wasn't really
> answering the question was it.
>
As it turns out Chuck has begun his Java education at a horrendous 
starting place.

[toc] | [prev] | [next] | [standalone]


#23761

FromJoerg Meier <joergmmeier@arcor.de>
Date2013-05-01 13:10 +0200
Message-ID<40lu82996sku.1kug6ch2qa1nz$.dlg@40tude.net>
In reply to#23760
On Wed, 01 May 2013 03:22:19 -0400, Jeff Higgins wrote:

> On 05/01/2013 01:55 AM, lipska the kat wrote:
>> The OP had a problem with Eclipse, as it turns out it was actually a
>> problem with incompatible third party components. 'Helping' the OP by
>> telling him not to use Eclipse to build his project wasn't really
>> answering the question was it.
> As it turns out Chuck has begun his Java education at a horrendous 
> starting place.

I wish those two would just put each other in their respective softwares
filter and stop polluting every second thread with their name calling and
personal attacks. I find both of them usually make good and worthwhile
posts, so I wouldn't want to filter them myself, it's just that when they
reply to each other that it becomes more noise than signal :|

Liebe Gruesse,
		Joerg

-- 
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.

[toc] | [prev] | [next] | [standalone]


#23788

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-05-02 16:44 +0100
Message-ID<Y5WdnWdJSINZFB_MnZ2dnUVZ7qidnZ2d@bt.com>
In reply to#23761
On 01/05/13 12:10, Joerg Meier wrote:
> On Wed, 01 May 2013 03:22:19 -0400, Jeff Higgins wrote:
>
>> On 05/01/2013 01:55 AM, lipska the kat wrote:
>>> The OP had a problem with Eclipse, as it turns out it was actually a
>>> problem with incompatible third party components. 'Helping' the OP by
>>> telling him not to use Eclipse to build his project wasn't really
>>> answering the question was it.
>> As it turns out Chuck has begun his Java education at a horrendous
>> starting place.
>
> I wish those two would just put each other in their respective softwares
> filter and stop polluting every second thread with their name calling and
> personal attacks. I find both of them usually make good and worthwhile
> posts, so I wouldn't want to filter them myself, it's just that when they
> reply to each other that it becomes more noise than signal :|

I've thought of it, but kill[hyphen]filing is not the answer. I just get 
fed up the the rudeness, there really is no need for it. I'll try harder 
to resist the temptation in future. I have a punch bag in the basement, 
maybe I'll try that :-)

lipska


-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23774

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-01 20:27 -0400
Message-ID<5181b2e7$0$32107$14726298@news.sunsite.dk>
In reply to#23760
On 5/1/2013 3:22 AM, Jeff Higgins wrote:
> On 05/01/2013 01:55 AM, lipska the kat wrote:
>> The OP had a problem with Eclipse, as it turns out it was actually a
>> problem with incompatible third party components. 'Helping' the OP by
>> telling him not to use Eclipse to build his project wasn't really
>> answering the question was it.
>>
> As it turns out Chuck has begun his Java education at a horrendous
> starting place.

It happens. If he was an expert in what would be a good starting
point, then he would not be a beginner.

20 years ago I like to write my own low level IO library in assembler.
That somewhat worked OK until I tried writing GUI stuff more
specifically use of Xlib the same way.

:-)

Arne

[toc] | [prev] | [next] | [standalone]


#23786

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-02 11:33 -0400
Message-ID<klu0pm$2k9$1@dont-email.me>
In reply to#23774
On 05/01/2013 08:27 PM, Arne Vajhøj wrote:
> On 5/1/2013 3:22 AM, Jeff Higgins wrote:
>> On 05/01/2013 01:55 AM, lipska the kat wrote:
>>> The OP had a problem with Eclipse, as it turns out it was actually a
>>> problem with incompatible third party components. 'Helping' the OP by
>>> telling him not to use Eclipse to build his project wasn't really
>>> answering the question was it.
>>>
>> As it turns out Chuck has begun his Java education at a horrendous
>> starting place.
>
> It happens. If he was an expert in what would be a good starting
> point, then he would not be a beginner.
>
> 20 years ago I like to write my own low level IO library in assembler.
> That somewhat worked OK until I tried writing GUI stuff more
> specifically use of Xlib the same way.
>
> :-)
>
Yep.
Perhaps I've been harsh.
I'm in the very same boat with Chuck, heading aft.
I can sympathize.

For some months I've taken an earnest interest in a subject
for which there is an excellent laboratory implemented in a
Python environment. It is written by experts in both the
subject matter and in Python. Several years ago I determined
to learn the Python language. I spent a good year at it and
before loosing interest felt that I had a fair understanding.
Now I find myself exploring an unfamiliar subject in what
turns out to be an unfamiliar programming environment.

It is frustrating to have to diverge, sometimes for many hours,
from studying the matter at hand to unraveling an implementation
issue, something that should be simple but simply isn't.

What I cannot sympathize with is the "I'm busy and have better
things to do" attitude. When pressed Chuck replies with, "I'm
a working student I really don't have the time for all of that"
and "I was really hoping for an expert to show me what to do,
but since there are none here could you just point me to a wiki/tutorial 
or something?". Hell no, I say. Among other
responsibilities I've been a "working student" for forty plus
years and have just spent a precious few hours of my own
struggling to understand an unfamiliar language construct.

[toc] | [prev] | [next] | [standalone]


#23773

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-01 20:23 -0400
Message-ID<5181b1fa$0$32107$14726298@news.sunsite.dk>
In reply to#23756
On 5/1/2013 1:55 AM, lipska the kat wrote:
> On 01/05/13 02:26, Arne Vajhøj wrote:
>> On 4/30/2013 3:53 PM, lipska the kat wrote:
>>> On 30/04/13 20:30, Lew wrote:
>>>> Chuck Johnson wrote:
>>>>>> So, I downloaded jdom-1.1.3, added this to the build path and removed
>>>>>> jdom-2.0.5, after changing throws IOException to throws Exception the
>>>>
>>>> It is better to catch the specific 'Exception', and worth the effort
>>>> to find out which
>>>> one that is.
>>>
>>> Are you sure you know who you are replying to Bloch local?
>>
>> No reason to think he don't.
>>
>>>>>> project built with no errors.
>>>>
>>>> What about warnings?
>>>>
>>>> How rigorous are your warning settings?
>>>
>>> None of your bloody business
>>>
>>>> I recommend resolving the dependencies at the command line, using Ant,
>>>> first.
>>>> Then work through the project "Build Path" in Eclipse to ensure that
>>>> it matches.
>>>>
>>>> Without a doubt you are missing a piece therein. Since your posts lack
>>>> specifics it
>>>> is very difficult to be specific in turn.
>>>
>>> The OP has it working now Bloch so why don't save your breath.
>>
>> That something is working does not mean that good advice can
>> not be given.
>>
>>>> Eclipse should not be your primary build environment.
>>>
>>> What the hell are you saying now you idiot.
>>> I can only assume you think you are responding to the OP.
>>>
>>> You don't use Ant to build a simple single class that only exists to
>>> test your path do you? why are you spreading this mis-information, why
>>> do you have to over-complicate everything? KISS.
>>>
>>> You can build with Ant in Eclipse, I've built huge systems with Ant in
>>> Eclipse, Eclipse is a great build tool it's my primary build
>>> environment. Don't listen to Bloch local OP, Eclipse is a great build
>>> tool, loads of professional developers I know use Eclipse as their
>>> primary build environment.
>>>
>>> Stop spreading mis-information.
>>
>> It is very bad practice to use the IDE as primary build environment
>> (at least if we assume that primary means the official builds)
>
> The OP had a problem with Eclipse, as it turns out it was actually a
> problem with incompatible third party components. 'Helping' the OP by
> telling him not to use Eclipse to build his project wasn't really
> answering the question was it.

Correct.

But the question of IDE build came up in the thread.

And that is a bad practice for real builds.

Arne

[toc] | [prev] | [next] | [standalone]


#23777

FromLew <lewbloch@gmail.com>
Date2013-05-01 18:38 -0700
Message-ID<b898fa95-d86a-4287-b400-04727ea6d616@googlegroups.com>
In reply to#23773
Arne Vajhøj wrote:
> lipska the kat wrote:
>>>> Stop spreading mis-information.

First, it's spelled "misinformation".

Second, that's like "stop beating your wife". The premise is false.

Can't stop what I ain't doing.

>>> It is very bad practice to use the IDE as primary build environment
>>> (at least if we assume that primary means the official builds)

Indeed. That is not misinformation.

>> The OP had a problem with Eclipse, as it turns out it was actually a
>> problem with incompatible third party components. 'Helping' the OP by
>> telling him not to use Eclipse to build his project wasn't really
>> answering the question was it.

Since no one told him not to use Eclipse to build his project, it seems you are the 
one spreading misinformation.

The actual advice was:
>>>> Eclipse should not be your primary build environment. 

You are guilty of straw-man argumentation, lipska.

> Correct.
> 
> But the question of IDE build came up in the thread.
> 
> And that is a bad practice for real builds.

I've seen the practice of using Eclipse to do "real" builds cause massive trouble 
on major multi-million-dollar projects. It's a genuine problem.

Some with minimal real-world experience or a rabid need to disagree irrespective of truth 
and facts may tell you otherwise.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#23787

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-05-02 16:35 +0100
Message-ID<8eSdnRLzo9hXGh_MnZ2dnUVZ7tmdnZ2d@bt.com>
In reply to#23777
On 02/05/13 02:38, Lew wrote:
> Arne Vajhøj wrote:
>> lipska the kat wrote:
>>>>> Stop spreading mis-information.
>
> First, it's spelled "misinformation".

Tomayto tomarto, whatever, it's rubbish.

> You are guilty of straw-man argumentation, lipska.

It's spelled straw man, no hyphen

How useful do you think it is to tell someone struggling to get Eclipse 
to do what he wants that he shouldn't be using it (for whatever reason)

lipska


-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23794

FromLew <lewbloch@gmail.com>
Date2013-05-02 12:29 -0700
Message-ID<d5a0dd1c-761d-4a2f-b8d3-594a0f2ce63c@googlegroups.com>
In reply to#23787
lipska the kat wrote:
> Lew wrote:
>> You are guilty of straw-man argumentation, lipska.
>
> It's spelled straw man, no hyphen

Incorrect. The hyphen is needed when a unit modifier (like "straw man" in this case)
precedes the noun modified.

> How useful do you think it is to tell someone struggling to get Eclipse 
> to do what he wants that he shouldn't be using it (for whatever reason)

What does that have to do with this conversation?

No one told the OP that he shouldn't use Eclipse, only that it should not be used 
for production builds. That is incredibly useful.

And not because I think it's useful but because it has demonstrable benefits, as mentioned 
upthread.

Bad habits are harder to unlearn than if you learn good habits to begin with.

Someone who only learns the micro-information needed for today's question without 
a sense of where the road leads will learn more slowly. To be effective at computer 
programming in particular, one must develop the habit of assimilating, even if superficially, 
the nine-tenths of the knowledge iceberg that is submerged below the waterline of 
"I think this is immediately useful". If you cannot cope with that kind of data, you will never 
grow to be a very competent programmer.

Now, I realize lipska that your argumentation is motivated entirely by the desire to disagree 
with me personally, and not to help the OP, which is why you resort to begging the question 
(calling it "misinformation") and challenging the usefulness of a useful answer without actually 
contributing any helpful information yourself.

But the fact remains that Eclipse is not optimal as a production build tool, and that there are 
standard tools for Java projects that are superior and indeed, intended for the purpose. This is 
always useful to know, even if you aren't prepared at this very instant in time to delve in depth 
into the matter. Otherwise you might form the bad habit of relying on Eclipse for something for 
which it is not well suited, and suffer the dire consequences thereof, while having to undo an 
ineffective system and unlearn bad habits. Is that what you want for the OP?

So better to set up a signpost very early in the learning path, indicating that there are dangers 
and liberating the OP to dig into that in depth now that they know there is something to research.

You would shackle them with your own arrogant prejudgment of what you in your narrow, 
self-aggrandizing view of things deem is all they need, just to snark at someone whom for 
some reason you have chosen to deprecate.

Better to know the truth than base your education on falsehood. The truth will set you free.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#23801

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-02 19:46 -0400
Message-ID<5182fac4$0$32108$14726298@news.sunsite.dk>
In reply to#23794
On 5/2/2013 3:29 PM, Lew wrote:
> lipska the kat wrote:
>> Lew wrote:
>>> You are guilty of straw-man argumentation, lipska.
>>
>> It's spelled straw man, no hyphen
>
> Incorrect. The hyphen is needed when a unit modifier (like "straw man" in this case)
> precedes the noun modified.

Many use it without hyphen:

http://en.wikipedia.org/wiki/Straw_man

http://www.thefreedictionary.com/straw+man

http://www.merriam-webster.com/dictionary/straw%20man

http://oxforddictionaries.com/us/definition/american_english/straw%2Bman?q=straw+man

Arne


[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.java.programmer


csiph-web