RE: ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread ArindamR
Kapil   I tried your solution. Didn't work out for me. The problem is with weblogic's ejbc command not with ant. If you run   java -classpath=$WL_HOME/lib/weblogic.jar -compiler=javac genric.jar deployable.jar   This will run fine. The moment you replace -compiler=javac with -compiler=jikes

RE: ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread Kapil_Pawar
Hi Arindam, I had also encountered a similar problem once with Ant 1.3. I solved it by adding two properties as: javac_compiler=jikes (or classic for using the classic compiler) ejbc_compiler=jikes (or javac for using the classic compiler) Then I had set the build.compiler property to ${javac_co

RE: Ant and Emacs

2001-09-06 Thread Conor MacNeill
http://jakarta.apache.org/ant/faq.html#emacs-mode > -Original Message- > From: Ralph Jocham [mailto:[EMAIL PROTECTED]] > Sent: Friday, 7 September 2001 7:51 AM > To: [EMAIL PROTECTED] > Subject: Ant and Emacs > > > Hi, > I am looking for the regex I can use so that my > Emacs will get

RE: Classpath stored in a single position?

2001-09-06 Thread Bromley, Steve
One option is to use the ability of XML to include another XML file in an XML file to move the path statement to an independent file. That way, you can include the XML whenever and whereever necessary and maintain it in a single spot. The directions on how to do XML includes are in the Ant FAQ

Re: Can ejbjar deal with multiple entity ejb's in a jar?

2001-09-06 Thread T Master
yeah use the ejbjar task, and specify eveythign in your xml descriptor. mine: - Original Message - From: "Kurt Olsen" <[EMAIL PROTECTED]> T

Can ejbjar deal with multiple entity ejb's in a jar?

2001-09-06 Thread Kurt Olsen
Hi, Can the ejbjar task be used to create a single jar file containing multiple entities. For example, given the directory structure below, can ejbjar create Account.jar containing both the Account and Person entities? (I didn't endorse, nor create this, but I do have to deal with it!)   Ac

Re: Ant 1.4 and Java weblogic.ejbc20 command problems

2001-09-06 Thread Sánchez
you could use the -verbose arg to see if ant kicks more useful info. help this works in a way. VES --- Chris Flemetakis <[EMAIL PROTECTED]> wrote: > I am sorry, I am not really sure of how to fix your > particular problem.. > what I am wondering is why don't you use the EJB > task that c

Re: how can I extract info from a Jar

2001-09-06 Thread Sánchez
Thanks Mitchell!! --- Mitchell Ackermann <[EMAIL PROTECTED]> wrote: > There is a built-in task. > > - Original Message - > From: Edgar SXnchez <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, September 06, 2001 4:30 PM > Subject: how can I extract info from a Jar > >

Re: Ant 1.4 and Java weblogic.ejbc20 command problems

2001-09-06 Thread Chris Flemetakis
I am sorry, I am not really sure of how to fix your particular problem.. what I am wondering is why don't you use the EJB task that comes with Ant for creating your ejb's?? This is a sample that works for me.. there is some staging that you must do before hand (as it relates to deployment desc

Using ant to build imjay

2001-09-06 Thread Adam Getchell
Title: Using ant to build imjay Hello all, I seem to be having difficulties using ant to build imjay (imjay.sourceforge.org), a secure Java instant messaging client. I'm on Windows 2000 Pro, SP2. Following the instructions on the FAQ (http://jakarta.apache.org/ant/manual/index.html), I unzi

Re: Ant and Emacs

2001-09-06 Thread Will Hartung
Huh, I dunno about that, but ANT has a -emacs switch which dumps the output in the "right format". At least the M-X-' keystroke works. With it. Will Hartung ([EMAIL PROTECTED]) - Original Message - From: "Ralph Jocham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Septembe

Ant and Emacs

2001-09-06 Thread Ralph Jocham
Hi, I am looking for the regex I can use so that my Emacs will get to the error by clicking the error line. What is the magic 'compilation-error-regexp-alist' line?? Thanks, Ralph

Re: how can I extract info from a Jar

2001-09-06 Thread Mitchell Ackermann
There is a built-in task. - Original Message - From: Edgar SXnchez <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 06, 2001 4:30 PM Subject: how can I extract info from a Jar Hi people.. nice to see you again :-) I was looking for a passed mail, if there we

Java task in Linux

2001-09-06 Thread Salvador I. Ducros
Part of a build target in my build.xml file tries to compile a group of JSP sources into Java sources using the JSP compiler in Tomcat. The relevant task looks like this: The 'jspcp' refid in the 'classpath' is defined at the top of my build.xml file with a

how can I extract info from a Jar

2001-09-06 Thread Sánchez
Hi people.. nice to see you again :-) I was looking for a passed mail, if there were talking about this, but i couldn't found it. I want to know how could i send args to the jar tag in order to extract some files that jar makes and put them into another jar package. Is like this way in

Ant 1.4 and Java weblogic.ejbc20 command problems

2001-09-06 Thread Martin, Jim
Hi all, I'm getting this error: ejbc: [java] error: cannot read: C:\dev\Message Broker System\ejbcgen\com\cendant \ejbs\LDAP\*.java [java] 1 error [java] Exec failed .. exiting [java] Java Result: 1 When trying to execute this task:

Re: VSSGET on 1.4

2001-09-06 Thread Chris Flemetakis
I am not sure why the VSSGET tasks is complaining.. not sure if you noticed the autoresponse attribute of the task.. you can try setting this to Yes ("Y") and seeing if it gets past the problem and what the outcome is.. Chris >From: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >To: [EMAIL P

RE: classpathref problem

2001-09-06 Thread Ralph Jocham
Thanks, I am using your file, but I get this error message and I don't know how to get rid of it. Buildfile: build.xml BUILD FAILED L:\Java\Src\com\apldbio\arrays\base\common\arrays\build.xml:2: The content beginning " wrote: > The following should work: > (Note that I missed out SYSTEM on my

Re: VSSGET on 1.4

2001-09-06 Thread Chris Flemetakis
I am not sure why the VSSGET tasks is complaining.. not sure if you noticed the autoresponse attribute of the task.. you can try setting this to Yes ("Y") and seeing if it gets past the problem and what the outcome is.. Chris >From: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >To: [EMAIL P

Re: Classpath stored in a single position?

2001-09-06 Thread Chris Flemetakis
You most definately do NOT have to have multiple classpaths in each build file. There is more than 1 approach to take with this.. I will present you with 2 1) You can create a global properties file (global.properties). In that properties file have an classpath value and make it equal to your

Re: VSSGET on 1.4

2001-09-06 Thread Sivaprasad . Kancherla
Peter, I found the problem, if not the solution. While you are connecting to VSS using SS.exe or the GUI, it keeps asking many questions like 'Set this default folder etc'. Ant always seem to answer with a 'N'. What seem to you happened in your case is that there was a folder 'rules' which was

RE: classpathref problem

2001-09-06 Thread Brett Knights
The following should work: (Note that I missed out SYSTEM on my earlier post ) ]> &stdPath; > -Original Message- > From: Ralph Jocham [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 06, 2001 12:07 PM > To

Re: classpathref problem

2001-09-06 Thread Diane Holt
See: http://jakarta.apache.org/ant/faq.html#xml-entity-include Diane --- Ralph Jocham <[EMAIL PROTECTED]> wrote: > Hi, > I have this file at L:\java\src\project.class.path > > > > > > > > > > > > > > > > > > and this file at l:\java\src\com\...\bu

classpathref problem

2001-09-06 Thread Ralph Jocham
Hi, I have this file at L:\java\src\project.class.path and this file at l:\java\src\com\...\build.xml and I get this error : Buildfile: build.xml compile: [javac] Compiling 43 source f

RE: condition in 1.3

2001-09-06 Thread Diane Holt
--- "Zanabria, Moises" <[EMAIL PROTECTED]> wrote: > I made a build.xml with different targets names, i.e. release build, > daily build or default build , I call my ant script with: > > ant -Dtag="%TAG%" > > The target name depend on $TAG value, so I would like to compare the > $TAG value with t

Problem with in Ant 1.4

2001-09-06 Thread Shankar Unni
Title: Problem with in Ant 1.4 In my project, I have a "src" directory with all the Java source files, and want to build the thing into a "classes" directory. So far, so good. I also want to "rmic -iiop" a file, and have the *generated source files* in a "gen" directory (so that "ant clean" c

Re: Installation problem

2001-09-06 Thread T Master
Do this: download ant.jar and the optional.jar too. Put the optional.jar in the ant_home/lib directory (this allows it to be in ants classapth). now do the following: ant.sh If all worked, you should get an error about there being no build.xml file (default build file name). T Master.

Re: Installation problem

2001-09-06 Thread Diane Holt
Are you just trying to install Ant, or do you really want to build it from scratch? If you just want to install it, you don't need to be running build.sh -- you just need to pick of the Ant jars. Diane --- "Zhao, Jasmine" <[EMAIL PROTECTED]> wrote: > Hi > I just downloaded Ant version1.4 src fi

RE: Classpath stored in a single position?

2001-09-06 Thread Brett Knights
If that turns out not to be feasible you could also try using an xml entity: your build.xml file: ]> ... &stdPath; ... then create stdPath.txt as: &stdPath; ... HTH > -Original Message- > From: Troy Gould [mailto:[EMAIL PROTECTED]] > Sent:

RE: Classpath stored in a single position?

2001-09-06 Thread Ralph Jocham
Where do I have to save the classpath file or how does ant know from where to pick it up. What about folders, I would also like to ad the root of the class file tree. (L:\java\build) Thanks for your help Ralph --- Troy Gould <[EMAIL PROTECTED]> wrote: > Try using filesets (a great feature of an

RE: Classpath stored in a single position?

2001-09-06 Thread Troy Gould
Try using filesets (a great feature of ant) for your classpath. That way you don't have to add every single file. Would look something like this: This will include all zip and jar files in the directory C:/ABI/arrays/lib. Not sure if you are suppose to put

Classpath stored in a single position?

2001-09-06 Thread Ralph Jocham
Hi, in our project we do have a rather long classpath. Currently I have this build.xml file in each package folder. (see below) But the Classpath changes often, so I have to change each build.xml file in each folder. Is it possible to extract the classpath into a single position from where it is b

Ant with SQLJ

2001-09-06 Thread ArindamR
Hi, I am using a mix of Java & SQLJ files. The Java and SQLJ files are interdependent like : A.java <-- inherits from -- B.sqlj <-- inherits from -- C.java Right now I have to use 3 different steps to compile all the 3 files, like: .. Is possible for me to

RE: Some one Please help me

2001-09-06 Thread Mark Gibson
You could try excluding the existing weblogic-ejb-jar.xml file from the task. Below is an ejbjar task that I use succesfully ... Note the include and exclude embedded attributes. I think it may be because it assumes all files it finds are ejb descriptors, and t

RE: ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread ArindamR
Kapil   I am compiling the Remote/Home/Bean classes before the ejbjar task. Please note that when I am replacing compiler="jikes" with compiler="javac" in the task, I am able to complete the task without error.   Arindam   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMA

RE: ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread ArindamR
Niels, I tried putting ${java.home}/jre/lib/rt.jar both in classpath as well as wlclasspath. Didn't work out. Arindam -Original Message- From: Niels Verdonk [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 6:57 PM To: '[EMAIL PROTECTED]' Subject: RE: ejbjar compiler="jikes

Re: ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread Kapil_Pawar
Hi Arindam You need to compile the Bean, Home and Remote Interface classes using javac before running ejbjar. Add the javac task before ejbjar. _ Kapil Singh Pawar Consultant - Integration i2 Technologies India Private Ltd. 1 Primrose Road Bangalore 560 025, IN

RE: ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread Niels Verdonk
You could try putting the %JAVA_HOME%\lib\rt.jar in your classpath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 3:17 PM To: [EMAIL PROTECTED] Subject: ejbjar compiler="jikes" vs. compiler="java" Hi, I am trying to use compile

Re: how to exclude packages from javadoc

2001-09-06 Thread Glenn McAllister
Ernst Plüss wrote: > But I've two packages named ch.corix.Prototype and > ch.corix.Dia which I want to exclude from the > generated javadoc. Can somebody tell me how I can do > this, without listing all other packages in the > pachagenames? In Ant 1.4 (not sure about previous releases) u

ejbjar compiler="jikes" vs. compiler="java"

2001-09-06 Thread ArindamR
Hi, I am trying to use compiler="jikes" with ejbjar as : The error that I am getting is : Buildfile: build.xml init: [mkdir] Created dir: D:\Stellar\Dynamic\Code\build compile: [javac] Compiling 13 source files to D:\Stellar\Dy

RE: Some one Please help me

2001-09-06 Thread Sachin Shah
Thanks micheal, you were right but after i set the weblogic.home directory the exception was as follows. Notice the name of the xml file it is looking for . The DD are named as ejb-jar.xml and weblogic-ejb-jar.xml does this needs to be changed. [javac] Compiling 3 source file

AW: Some one Please help me

2001-09-06 Thread Michael Grindel
Sachin, it seems to me that ${weblogic.home} doesn't map to d:\weblogic you may test this by replacing "${weblogic.home}" by "d:\weblogic" michael > -Ursprüngliche Nachricht- > Von: Sachin Shah [mailto:[EMAIL PROTECTED]] > Gesendet am: Donnerstag, 6. September 2001 13:21 > An: [EMAIL PR

Some one Please help me

2001-09-06 Thread Sachin Shah
Hi, This is for the 3rd time i m asking the same que. But sorry but i couldn't get the thing right. I m trying to build the ejb jar from the DD but continueously it is giving the same error even after using the nested dtd element as below in ant 1.4

how to exclude packages from javadoc

2001-09-06 Thread Ernst Plüss
Hi All I've a ant script to build javadoc. This works fine as long as I want to generate the javadoc of my whole project. I just specify the appropriate package wildcard in the pachagename property. But I've two packages named ch.corix.Prototype and ch.corix.Dia which I want to exclude from th

VSSGET on 1.4

2001-09-06 Thread Peter . FLYNN
The VSSGET task has suddenly stopped working. A sub-directory was removed from the Source Safe repository, and now VSSGET complains. I have a feeling its an SS.EXE problem, but it works fine when I perform the task from the Source Safe client. I had a feeling that it might be because its requir

Installation problem

2001-09-06 Thread Zhao, Jasmine
Title: Installation problem Hi I just downloaded Ant version1.4 src files from the net When executing the build.sh -Ddist= dist command to build ant,I get an error: Execute failed: java.io.IOException: Cannot locate antRun script: Property 'ant.home' not found. I do not have ant.jar file in my

Compiling more than one jj or jjt file

2001-09-06 Thread Hartmut Ferentschik
Hi folks, I just started using ant and hope this is not a RTFM question. Here is my problem. I have a project with jj and jjt files distributed over several packages. What I would like to achieve is to build compile these files with javacc before I call the javac target. Unfortunaley the JavaCC a