Re: Package prefix with ant build & ClassNotFoundException

2006-11-02 Thread Prashant
Prashant, I have not been able to figure out how to get Intellij to produce a build script, I wrote my own. Click Menu > Build Choose Generate ANT Build option. I am using 4.5 version of Intellij Thanks, Tom. -Original Message- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Steve Cohen
Branden Kolb wrote: I did look at that. I apologize for my lack of understanding. I thought I could use in my build script to define the ejbDeploy task. I'm guessing from your statement "(antTask is not from ant, it is from websphere)" that I cannot use it? As I stated earlier, I call a b

Re: newbie...log4j problem; exception enclosed

2006-11-02 Thread Shailesh Sharma
Iam so sorry. This has nothing to do with ANT. It's apache's log4j only. "Scot P. Floess" <[EMAIL PROTECTED]> wrote: I am not trying to be smart here...but how does this relate to ant? Do you feel like this is a deployment problem caused by your ant build script? If so, can you elaborate m

Re: newbie...log4j problem; exception enclosed

2006-11-02 Thread Scot P. Floess
I am not trying to be smart here...but how does this relate to ant? Do you feel like this is a deployment problem caused by your ant build script? If so, can you elaborate more on how you are creating your war file? Shailesh Sharma wrote: iam getting following exception in my weblogic log f

newbie...log4j problem; exception enclosed

2006-11-02 Thread Shailesh Sharma
iam getting following exception in my weblogic log file when i deploy the application WAR file. please help me understand the problem...help please finding the solution. log4j:WARN No such property [datePattern] in org.apache.log4j.RollingFileAppender. ValidateVendorLogger:initLogger

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Branden Kolb
I did look at that. I apologize for my lack of understanding. I thought I could use in my build script to define the ejbDeploy task. I'm guessing from your statement "(antTask is not from ant, it is from websphere)" that I cannot use it? As I stated earlier, I call a batch file that looks

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Peter Reilly
On 11/2/06, Branden Kolb <[EMAIL PROTECTED]> wrote: All right, I give up. I thought I understood what I needed to. I added the following to my Ant script: Did you look at the reference: http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_weisz/0505_wei

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Branden Kolb
All right, I give up. I thought I understood what I needed to. I added the following to my Ant script: but I am still getting the same error as before. Am I using the wrong library or the wrong class? Am I completely off my rocker (ok, I don't need an answer to this last

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Steve Loughran
Peter Reilly wrote: I did a quick google and found a lot of hits of people asking this question, but very few on how to do it. running rad ant tasks from the cli looks like fun ;-) I found this: http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_weisz/0505_weisz.html The

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Peter Reilly
I did a quick google and found a lot of hits of people asking this question, but very few on how to do it. running rad ant tasks from the cli looks like fun ;-) I found this: http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_weisz/0505_weisz.html They use their own ant laun

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Branden Kolb
Well, maybe I don't understand quite yet. I added the path to the antj2ee.jar to my system classpath variable. opened a new DOS window and tried my script again. I still get the error: Could not create task or type of type: ejbDeploy What am I missing? Branden Kolb > Ok, I think I

RE: Package prefix with ant build & ClassNotFoundException

2006-11-02 Thread Tom Corcoran
Hi Peter / Prashant, It's my understanding that I can use the full name everywhere or put an import statement at the top. However, when I put an import statement in Intellij it goes gray which indicates it's an unused import statement. Anyway, I replaced all class references with their full name.

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Martin Gainty
I have seen this happen when the script implements with microsoft specific names which incorporate either spaces or 'special characters' you will have to find the 'real directory folder name' which you can discover by cd C:\ and dir /X (find the REAL folder names) so in your script instead of u

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Branden Kolb
Ok, I think I am beginning to understand. I may not have provided enough information. I call a batch file like the following. Should I just add the correct jar to the folder listed as the ANT_HOME folder? Or do I just add it to my windows classpath? Thanks for the help! echo %~dp0 cd %~

Re: How do I use ejbDeploy outside of RAD

2006-11-02 Thread Steve Loughran
Branden Kolb wrote: I have recently written a build script using Ant for one of our projects that is run from within RAD. One of the targets uses the task in the following manner: I want to be able to run the Ant script from a DOS window. However, when I do, and it gets t

How do I use ejbDeploy outside of RAD

2006-11-02 Thread Branden Kolb
I have recently written a build script using Ant for one of our projects that is run from within RAD. One of the targets uses the task in the following manner: I want to be able to run the Ant script from a DOS window. However, when I do, and it gets to the ejbDeploy task,