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
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
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
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
yeah
use the ejbjar task, and specify eveythign in your xml descriptor.
mine:
- Original Message -
From: "Kurt Olsen" <[EMAIL PROTECTED]>
T
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
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
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
>
>
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
--- "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
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
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.
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
47 matches
Mail list logo