Douglas

Regarding your second issue, I typically do something like the following in
my ant build.xml file

       <!-- Path element containing all jar files in lib directory -->
       <path id="lib.class.path">
         <fileset dir="${lib.dir}">
           <include name="**/*.jar"/>
         </fileset>
       </path>

Then, in my javac task, I have something like the following

     <classpath>
       <pathelement location="${build.dest.dir}"/>
       <path refid="lib.class.path"/>
     </classpath>

BTW: I am in the process of making some (relatively extensive) changes to
jde-ant (jmode-ant). One of the new features will be the ability to create
a new build definition file from a template.


Regards
Jason



                                                                                       
                                                 
                    Douglas WF                                                         
                                                 
                    Acheson              To:     [EMAIL PROTECTED]                    
                                                 
                    <[EMAIL PROTECTED]        cc:                                           
                                                 
                    om>                  Subject:     jde-ant                          
                                                 
                                                                                       
                                                 
                    07/18/01                                                           
                                                 
                    09:29 AM                                                           
                                                 
                                                                                       
                                                 
                                                                                       
                                                 




Hello,

   After finally moving to ant to build my java apps I would like to
use the jde-ant feature (new name jmode-ant :-)  I have played with it
for the last few days.  I found a potential problem using XEmacs.  I
had to add the following code
from
  (let ((temp last-nonmen-event))
to
  (let ((temp (if (boundp 'last-nonmenu-event)
                  last-nonmen-event
                     nil)))
to avoid getting a
   Symbol's value as variable is void: last-nonmenu-event
error.

Anyways, it works -- if someone can let me know what I can do to not
use this hack, that would be good.

  Another interesting problem, I have custom targets in the ant build
project.  How do I adjust the classpath for ant so I can add my jar
files.

  Any help would be very appreciated.

Douglas WF Acheson


=====
Douglas WF Acheson

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/





Reply via email to