relative path in prj.el

2003-01-30 Thread Paul Kinnucan
Hi Sharad,

It would help if you supplied a full problem report, using
the JDE-Help-Submit Problem Report command.

- Paul

Sharad Jain writes:
  I am trying to setup prj.el with relative global-classpath, compile-directory, 
 source-path.
  Although, documentation says that all relative paths are calculated with respect to 
 location
  of prj.el, I see that when I try to compile a java file, it calculates all those 
 paths relative to that
  java file.
  I am sure, when the java file is loaded, it is able to locate prj.el which is in the 
 project base directory.
  This is the same directory where my src/classes directory resides and all paths are 
 specified as
  ./src (sourcepath) and ./classes (classpath).
  I looked at mail-archive and found a posting about this bug on 16th December. I dont 
 know, if it is
  fixed. I am using jde-2.3.2 and (elib-1.0, semantic-1.4.2, speedbar-0.14beta2, 
 eieio-0.17).
  
  Thanks in anticipation,
  -sharad
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
  HTMLHEAD
  META http-equiv=Content-Type content=text/html; charset=iso-8859-1
  META content=MSHTML 5.50.4134.600 name=GENERATOR
  STYLE/STYLE
  /HEAD
  BODY bgColor=#ff
  DIVFONT face=Arial size=2I am trying to setup prj.el with relative 
  global-classpath, compile-directory, source-path./FONT/DIV
  DIVFONT face=Arial size=2Although, documentation says that all relative 
  paths are calculated with respect to location/FONT/DIV
  DIVFONT face=Arial size=2of prj.el, I see that when I try to compile a java 
  file, it calculates all those paths relative to that/FONT/DIV
  DIVFONT face=Arial size=2java file./FONT/DIV
  DIVFONT face=Arial size=2I am sure, when the java file is loaded, it is able 
  to locate prj.el which is in the project base directory./FONT/DIV
  DIVFONT face=Arial size=2This is the same directory where my src/classes 
  directory resides and all paths are specified as/FONT/DIV
  DIVFONT face=Arial size=2./src (sourcepath) and ./classes 
  (classpath)./FONT/DIV
  DIVFONT face=Arial size=2I looked at mail-archive and found a posting about 
  this bug on 16th December. I dont know, if it is/FONT/DIV
  DIVFONT face=Arial size=2fixed. I am using jde-2.3.2 and (elib-1.0, 
  semantic-1.4.2, speedbar-0.14beta2, eieio-0.17)./FONT/DIV
  DIVFONT face=Arial size=2/FONTnbsp;/DIV
  DIVFONT face=Arial size=2Thanks in anticipation,/FONT/DIV
  DIVFONT face=Arial size=2-sharad/FONT/DIV/BODY/HTML




Re: relative path in prj.el

2003-01-30 Thread Sharad Jain
Sorry about that. I did not know there is this JDE  help  Submit Problem
Report menu-item to help
us better, I will use that next time.

BTW, I figured out the problem.

In my case, the prj.el was in the base dir (which also contained /src and
/classes folder)
but the variables jde-compile-sourcepath was stored in .emacs rather than
prj.el and hence
it was calculating the path relative to .java file instead of prj.el.

When I remove those variables from .emacs and added them to prj.el,
everything worked
fine.

Thanks Paul,
-sharad

- Original Message -
From: Paul Kinnucan [EMAIL PROTECTED]
To: Sharad Jain [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 11:37 AM
Subject: relative path in prj.el


 Hi Sharad,

 It would help if you supplied a full problem report, using
 the JDE-Help-Submit Problem Report command.

 - Paul

 Sharad Jain writes:
   I am trying to setup prj.el with relative global-classpath,
compile-directory, source-path.
   Although, documentation says that all relative paths are calculated
with respect to location
   of prj.el, I see that when I try to compile a java file, it calculates
all those paths relative to that
   java file.
   I am sure, when the java file is loaded, it is able to locate prj.el
which is in the project base directory.
   This is the same directory where my src/classes directory resides and
all paths are specified as
   ./src (sourcepath) and ./classes (classpath).
   I looked at mail-archive and found a posting about this bug on 16th
December. I dont know, if it is
   fixed. I am using jde-2.3.2 and (elib-1.0, semantic-1.4.2,
speedbar-0.14beta2, eieio-0.17).
  
   Thanks in anticipation,
   -sharad
   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
   HTMLHEAD
   META http-equiv=Content-Type content=text/html; charset=iso-8859-1
   META content=MSHTML 5.50.4134.600 name=GENERATOR
   STYLE/STYLE
   /HEAD
   BODY bgColor=#ff
   DIVFONT face=Arial size=2I am trying to setup prj.el with relative
   global-classpath, compile-directory, source-path./FONT/DIV
   DIVFONT face=Arial size=2Although, documentation says that all
relative
   paths are calculated with respect to location/FONT/DIV
   DIVFONT face=Arial size=2of prj.el, I see that when I try to
compile a java
   file, it calculates all those paths relative to that/FONT/DIV
   DIVFONT face=Arial size=2java file./FONT/DIV
   DIVFONT face=Arial size=2I am sure, when the java file is loaded,
it is able
   to locate prj.el which is in the project base directory./FONT/DIV
   DIVFONT face=Arial size=2This is the same directory where my
src/classes
   directory resides and all paths are specified as/FONT/DIV
   DIVFONT face=Arial size=2./src (sourcepath) and ./classes
   (classpath)./FONT/DIV
   DIVFONT face=Arial size=2I looked at mail-archive and found a
posting about
   this bug on 16th December. I dont know, if it is/FONT/DIV
   DIVFONT face=Arial size=2fixed. I am using jde-2.3.2 and (elib-1.0,
   semantic-1.4.2, speedbar-0.14beta2, eieio-0.17)./FONT/DIV
   DIVFONT face=Arial size=2/FONTnbsp;/DIV
   DIVFONT face=Arial size=2Thanks in anticipation,/FONT/DIV
   DIVFONT face=Arial size=2-sharad/FONT/DIV/BODY/HTML






relative path in prj.el

2003-01-28 Thread Sharad Jain



I am trying to setup prj.el with relative 
global-classpath, compile-directory, source-path.
Although, documentation says that all relative 
paths are calculated with respect to location
of prj.el, I see that when I try to compile a java 
file, it calculates all those paths relative to that
java file.
I am sure, when the java file is loaded, it is able 
to locate prj.el which is in the project base directory.
This is the same directory where my src/classes 
directory resides and all paths are specified as
./src (sourcepath) and ./classes 
(classpath).
I looked at mail-archive and found a posting about 
this bug on 16th December. I dont know, if it is
fixed. I am using jde-2.3.2 and (elib-1.0, 
semantic-1.4.2, speedbar-0.14beta2, eieio-0.17).

Thanks in anticipation,
-sharad