Hi,
No I don't think that's it, both ant and javac work on my command line. I do
use Ant for build, I'm just trying deployer for the first time. JAVA_HOME,
ANT_HOME are also both defined. Ant is also the latest version 1.6.5
C:\deployer>javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are u
sed
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
-- snip --
C:\deployer>ant -Dserver=webtest compile
Buildfile: build.xml
clean:
[delete] Deleting directory C:\deployer\build
compile:
[copy] Copying 500 files to C:\deployer\build\webapp\ROOT
[copy] Copied 165 empty directories to 1 empty directory under C:\deployer\
build\webapp\ROOT
[jasper2] java.lang.NullPointerException
[jasper2] at org.apache.jasper.JspCompilationContext.createCompiler(JspCom
pilationContext.java:220)
[jasper2] at org.apache.jasper.JspC.processFile(JspC.java:913)
[jasper2] at org.apache.jasper.JspC.execute(JspC.java:1061)
[jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[jasper2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[jasper2] at java.lang.reflect.Method.invoke(Method.java:585)
[jasper2] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123
)
[jasper2] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[jasper2] at org.apache.tools.ant.Task.perform(Task.java:364)
[jasper2] at org.apache.tools.ant.Target.execute(Target.java:341)
[jasper2] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[jasper2] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
[jasper2] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[jasper2] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:40)
[jasper2] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[jasper2] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[jasper2] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[jasper2] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[jasper2] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
BUILD FAILED
C:\deployer\build.xml:45: org.apache.jasper.JasperException
Total time: 7 seconds
Many thanks, Allistair.
> -----Original Message-----
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 25 August 2005 12:40
> To: Tomcat Users List
> Subject: Re: Client Deployer 5.5.11 NullPointerException
>
>
> On 8/25/05, Allistair Crossley <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've decided to try out the Deployer tool for the first
> time to see if it makes like a little easier for deployments
> to our test servers.
> >
> > I've used the 5.5.11 Alpha Deployer as I noted some threads
> indicating a problem with 5.5.9's version.
> >
> > I've come across the following when running it pretty much
> out of box. I setup a deployer.properties file. Am I missing
> some kind of classpath or could this be caused by a file in
> my web application?
> >
>
> No Java compiler available. With the deployer package, you're supposed
> to be using Ant+javac (given that Ant wants JAVA_HOME and likes a
> JDK). If not, add the JDT JAR that is in common/lib.
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxxx
> Rémy Maucherat
> Developer & Consultant
> JBoss Group (Europe) SàRL
> xxxxxxxxxxxxxxxxxxxxxxxxx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]