uPortal IRC Logs-2007-08-15

[08:57:43 EDT(-0400)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[10:07:06 EDT(-0400)] * apetro_work_desk (n=apetro@uni1.unicon.net) has joined ##uportal
[10:34:28 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:49:14 EDT(-0400)] * lescour (n=JBouncer@adsl-38-10-98.tulsaconnect.com) has joined ##uportal
[11:34:58 EDT(-0400)] <EricDalquist> grr
[11:35:22 EDT(-0400)] <EricDalquist> so there are directories that end up in the classpath that have the same name and path as java class files
[11:35:29 EDT(-0400)] <EricDalquist> which causes all sorts of fun compiler errors in eclipse
[11:35:37 EDT(-0400)] <EricDalquist> and is technically against the java spec
[11:35:41 EDT(-0400)] <EricDalquist> er
[11:35:46 EDT(-0400)] <EricDalquist> well no it isn't
[11:36:01 EDT(-0400)] <EricDalquist> but is definitely not a best-practice
[11:37:59 EDT(-0400)] <esm> what, to put resources in the same package as a class file?
[11:38:35 EDT(-0400)] <esm> i dont know if it is best practice but it has been a common one
[11:38:49 EDT(-0400)] <EricDalquist> this is a bit different
[11:38:57 EDT(-0400)] <EricDalquist> so I have a class named: a.b.C
[11:39:06 EDT(-0400)] <EricDalquist> and then I have a/b/C/config.xml
[11:39:15 EDT(-0400)] <EricDalquist> which ends up in the classpath
[11:39:25 EDT(-0400)] <EricDalquist> so now I have a package name that matches a classname
[11:39:46 EDT(-0400)] <EricDalquist> the only reason it compiles is the resources folders aren't on the classpath during compilation
[11:40:00 EDT(-0400)] <EricDalquist> but in eclipse since they are all listed as source folders it complains loudly
[11:40:34 EDT(-0400)] <esm> ah i see, yeah that is really very odd
[11:40:48 EDT(-0400)] <EricDalquist> yup
[11:41:01 EDT(-0400)] <EricDalquist> and I would guess there are well over 100 files affected by this practice
[11:41:39 EDT(-0400)] <esm> ugh.
[11:41:48 EDT(-0400)] <EricDalquist> it is all the xsl/cpd and such for all the channels
[11:43:44 EDT(-0400)] <esm> ugh yeah i see
[11:44:06 EDT(-0400)] <EricDalquist> I think I'm just going to have to accept it and go through and re-arrange all the files eventually
[11:44:07 EDT(-0400)] <esm> -impl's resources/o/j/p/channels ?
[11:44:24 EDT(-0400)] <EricDalquist> some in there more in -war's
[11:45:00 EDT(-0400)] <esm> hm yeah probably it'll have to be moved
[11:45:08 EDT(-0400)] <esm> ok gotta run to lunch
[11:45:09 EDT(-0400)] <esm> bbiab
[11:45:10 EDT(-0400)] <EricDalquist> later
[11:51:54 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[13:06:51 EDT(-0400)] <lescour> well, eclipse used to insist that package names matched the directory structure for source file
[13:06:55 EDT(-0400)] <lescour> files
[13:07:03 EDT(-0400)] <lescour> i don't know if it still does that too
[13:07:09 EDT(-0400)] <EricDalquist> that is a java requirement I believe
[13:07:17 EDT(-0400)] <lescour> no
[13:07:23 EDT(-0400)] <lescour> just a best practice
[13:07:42 EDT(-0400)] <EricDalquist> ah
[13:07:43 EDT(-0400)] <EricDalquist> weird
[13:08:33 EDT(-0400)] <lescour> time for lunch
[13:08:39 EDT(-0400)] * lescour (n=JBouncer@adsl-38-10-98.tulsaconnect.com) has left ##uportal
[14:58:07 EDT(-0400)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[14:58:18 EDT(-0400)] * lescour (n=JBouncer@adsl-38-10-98.tulsaconnect.com) has joined ##uportal
[16:45:49 EDT(-0400)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[16:49:29 EDT(-0400)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[16:52:15 EDT(-0400)] * colinclark (n=atrcwrk2@142.150.154.101) has joined ##uportal
[16:52:21 EDT(-0400)] * colinclark (n=atrcwrk2@142.150.154.101) has left ##uportal