Prev: need suggestions to learn Java to become an Freelanceprogrammer
Next: ejbPostCreate() to define operations
From: Sahil Dave on 6 May 2010 10:17 On May 6, 6:25 pm, Tom Anderson <t...(a)urchin.earth.li> wrote: > Right click on app2 > Build Path > Configure Build Path > Order and > Export. The source folders defining those classes need ticks in their > tickyboxes - that means they're exported to other projects. > > If they do have ticks, ask again and i'll see what i can think of. yeah, those are ticked!
From: Sahil Dave on 6 May 2010 10:19 On May 6, 5:13 pm, Lew <no...(a)lewscanon.com> wrote: > Read about packages and classpaths in the tutorial on java.sun.com. I know about packages and classpaths. I am a bit rusty on the Eclipse way of managing those things. Thanks, Sahil
From: Lew on 6 May 2010 11:10 Lew wrote: >> Read about packages and classpaths in the tutorial on java.sun.com. > Sahil Dave wrote: > I know about packages and classpaths. I am a bit rusty on the Eclipse > way of managing those things. > Many people find the Eclipse documentation useful for this type of question. <http://help.eclipse.org/galileo/topic/org.eclipse.jdt.doc.user/ concepts/concept-build-classpath.htm> Perhaps you will, too. -- Lew
From: Tom Anderson on 6 May 2010 14:26 On Thu, 6 May 2010, Lew wrote: > On May 6, 9:26�am, Tom Anderson <t...(a)urchin.earth.li> wrote: >> On Thu, 6 May 2010, Lew wrote: >>> On 05/06/2010 06:44 AM, Sahil Dave wrote: >>> >>>> I have been away from java for quite a long time, and certainly away >>>> from Eclipse. I have two applications, one of which uses the other. The >>>> problem here is that i am trying to import classes from app2 into app1, >>>> but its not able to find them. >> >>>> How do i get around this? I know that it has to do something with the >>>> build path. I am using Eclipse. >> >>> Read about packages and classpaths in the tutorial on java.sun.com. >> >> Did you see the bit where he says "I am using Eclipse"? It's on the last >> line of the second paragraph. > > Did you read the thread wherein people discuss that knowing the > underlying concepts is essential to effective use of an IDE? I don't see any evidence that he doesn't know the underlying concepts. He was quite specific in that the problem was configuring Eclipse. It doesn't matter if you know every last comma of the rules about classpaths if you don't know where the Configure Build Path dialogue box is. > I believe you even participated in that thread, as you may recall. I don't remember things, that's what google is for. tom -- There was this one time we were talking about [...] that if you fill a bucket with water and spin it around, some of the force acting to hold the water back comes from the edge of the Universe. We were on tour in the Netherlands, and when we got to the venue, backstage someone said, 'let's try it out'. So we yelled, 'Oi, bring us a bucket and some rope!' They did and we made an awful mess. -- Billy Bragg, feat. Ernst Mach
From: Tom Anderson on 6 May 2010 14:51 On Thu, 6 May 2010, Sahil Dave wrote: > On May 6, 6:25�pm, Tom Anderson <t...(a)urchin.earth.li> wrote: >> Right click on app2 > Build Path > Configure Build Path > Order and >> Export. The source folders defining those classes need ticks in their >> tickyboxes - that means they're exported to other projects. >> >> If they do have ticks, ask again and i'll see what i can think of. > > yeah, those are ticked! Tick 'em harder! And app2 is definitely on the build path of app1? Would you care to post the .classpath files from both projects? Sometimes things do just get fucked up. The usual dead chickens to wave are, in ascending order of mana: 1. Select all projects, refresh. 2. Project > Clean ... > all projects 3. Quit and restart Eclipse 4. Quit and restart Eclipse with the -clean flag 5. Close the projects, then reopen them (then clean) 6. Delete the workspace, check out the projects from version control again 7. Switch to IntelliJ I did a pass mucking out all our dev VMs today. One had a build error, i forget what but it was something nonspecific like 'project XYZ could not be built due to build errors', which was resistant to levels 1 to 3 of the above (i didn't try 4), but was cured by level 5. There was absolutely nothing actually wrong with the projects, Eclipse just had its knickers in a twist. tom -- There was this one time we were talking about [...] that if you fill a bucket with water and spin it around, some of the force acting to hold the water back comes from the edge of the Universe. We were on tour in the Netherlands, and when we got to the venue, backstage someone said, 'let's try it out'. So we yelled, 'Oi, bring us a bucket and some rope!' They did and we made an awful mess. -- Billy Bragg, feat. Ernst Mach
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: need suggestions to learn Java to become an Freelanceprogrammer Next: ejbPostCreate() to define operations |