You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Amandeep Jawa <de...@imagelock.com> on 2000/09/06 22:13:20 UTC

Please help - can't get Velocity up?

Hey folks -

Sorry to ask this here but I have been trying to figure out how to get
Velocity running with no luck, I can't find a FAQ & the Jakarta FAQ has
been down for the last 5
 days!!!......

I'm trying to get Velocity up & running on my Win2000 box (& later
Solaris) - but I keep running into problem after problem!

So far I think I have ant set up ok - but I can't prove it.... & now when I
try to build velocity (using the /buil/build-velocity.bat) I get the
following output.....


-------------------------------------------------------
C:\Development\CVSVelo\jakarta-velocity\build>build-velocity
Now building jar...
Classpath: C:\sybase\ASEP\3pclass.zip;C:\sybase\ASEP\monclass.zip;C:\Program
Fil
es\Sybase\Shared\Sun\jdk118\lib\classes.zip;C:\Program Files\Sybase\Jaguar
CTS 3
.5\html\classes;C:\Program Files\Sybase\Jaguar CTS
3.5\java\classes;C:\Program F
iles\Sybase\Shared\PowerBuilder\classes.zip;.;C:\jdk1.3\lib\tools.jar;C:\jdk
1.3\
lib\tools.jar;;ant.jar;xml.jar
JAVA_HOME: C:\jdk1.3
Buildfile: build-velocity.xml
    [chmod] The src attribute is deprecated. Please use the file attribute.

init:

prepare:

compile:
    [javac] Compiling 67 source files to
C:\Development\CVSVelo\jakarta-velocity
\bin\classes

BUILD FAILED

java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at
org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:527)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:295)
        at org.apache.tools.ant.Target.execute(Target.java:132)
        at org.apache.tools.ant.Project.runTarget(Project.java:717)
        at org.apache.tools.ant.Project.executeTarget(Project.java:448)
        at org.apache.tools.ant.Project.executeTargets(Project.java:422)
        at org.apache.tools.ant.Main.runBuild(Main.java:279)
        at org.apache.tools.ant.Main.main(Main.java:107)

Total time: 1 seconds
-------------------------------------------------------


Arrgh - OK I have the tools.jar in my path (TWICE - but that should be OK
right?) & I get the no Javac error you see above - any help would be VERY
appreciated!

'deep


--------------------------
Amandeep Jawa
Imagelock, Inc.
--------------------------
deep@imagelock.com
1725 Montgomery St
San Francisco CA 94111

Work: 415 616 7262 (616 SAMBA)
Fax: 415 392 5382

http://www.imagelock.com




Re: Please help - can't get Velocity up?

Posted by Jason van Zyl <jv...@periapt.com>.
On Wed, 6 Sep 2000, Amandeep Jawa wrote:

> Jason -
> 
> Thanks -
> 
> Can I help - i'm a pretty good developer & a good documenter - is there
> something I can do?

You can make a .bat that works! I think after
tonight the package structure will stabalize, after
that I'm going to make a list of issues that
need to be dealt with and a TODO. So if
you can wait a day or two, then there
will be lots to do!

You can definitely take a look at the source
and see what you think of the package structure
and the interface for a Processor. A Processor
is an abstraction for a set of tools, in most
cases parsers and tree walkers for a particular
parser generator (like javacc).

Right now, it's pretty much read the source
and comment. I'm pretty much holding things
up right now because I haven't written
enought documentation. If you read the
source and can write JavaDoc that would
be super helpful too. If you make any
changes just send me the patches and
I will apply them.

jvz.

-- 

Jason van Zyl
jvanzyl@periapt.com


Re: Please help - can't get Velocity up?

Posted by Amandeep Jawa <de...@imagelock.com>.
Jason -

Thanks -

Can I help - i'm a pretty good developer & a good documenter - is there
something I can do?

'deep


----- Original Message -----
From: "Jason van Zyl" <jv...@periapt.com>
To: <ve...@jakarta.apache.org>; "Amandeep Jawa" <de...@imagelock.com>
Sent: Wednesday, September 06, 2000 1:23 PM
Subject: Re: Please help - can't get Velocity up?


> Hi,
>
> I'll work on a .bat file, I don't think it works right now.
> This stuff is all alpha so don't expect much and it will
> change pretty much on a daily basis. It's the bleeding
> edge.
>
> jvz.
>
> On Wed, 6 Sep 2000, Amandeep Jawa wrote:
>
> > Hey folks -
> >
> > Sorry to ask this here but I have been trying to figure out how to get
> > Velocity running with no luck, I can't find a FAQ & the Jakarta FAQ has
> > been down for the last 5
> >  days!!!......
> >
> > I'm trying to get Velocity up & running on my Win2000 box (& later
> > Solaris) - but I keep running into problem after problem!
> >
> > So far I think I have ant set up ok - but I can't prove it.... & now
when I
> > try to build velocity (using the /buil/build-velocity.bat) I get the
> > following output.....
> >
> >
> > -------------------------------------------------------
> > C:\Development\CVSVelo\jakarta-velocity\build>build-velocity
> > Now building jar...
> > Classpath:
C:\sybase\ASEP\3pclass.zip;C:\sybase\ASEP\monclass.zip;C:\Program
> > Fil
> > es\Sybase\Shared\Sun\jdk118\lib\classes.zip;C:\Program
Files\Sybase\Jaguar
> > CTS 3
> > .5\html\classes;C:\Program Files\Sybase\Jaguar CTS
> > 3.5\java\classes;C:\Program F
> >
iles\Sybase\Shared\PowerBuilder\classes.zip;.;C:\jdk1.3\lib\tools.jar;C:\jdk
> > 1.3\
> > lib\tools.jar;;ant.jar;xml.jar
> > JAVA_HOME: C:\jdk1.3
> > Buildfile: build-velocity.xml
> >     [chmod] The src attribute is deprecated. Please use the file
attribute.
> >
> > init:
> >
> > prepare:
> >
> > compile:
> >     [javac] Compiling 67 source files to
> > C:\Development\CVSVelo\jakarta-velocity
> > \bin\classes
> >
> > BUILD FAILED
> >
> > java.lang.NoClassDefFoundError: sun/tools/javac/Main
> >         at
> > org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:527)
> >         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:295)
> >         at org.apache.tools.ant.Target.execute(Target.java:132)
> >         at org.apache.tools.ant.Project.runTarget(Project.java:717)
> >         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
> >         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:279)
> >         at org.apache.tools.ant.Main.main(Main.java:107)
> >
> > Total time: 1 seconds
> > -------------------------------------------------------
> >
> >
> > Arrgh - OK I have the tools.jar in my path (TWICE - but that should be
OK
> > right?) & I get the no Javac error you see above - any help would be
VERY
> > appreciated!
> >
> > 'deep
> >
> >
> > --------------------------
> > Amandeep Jawa
> > Imagelock, Inc.
> > --------------------------
> > deep@imagelock.com
> > 1725 Montgomery St
> > San Francisco CA 94111
> >
> > Work: 415 616 7262 (616 SAMBA)
> > Fax: 415 392 5382
> >
> > http://www.imagelock.com
> >
> >
> >
> >
>
> --
>
> Jason van Zyl
> jvanzyl@periapt.com
>
>


Re: Please help - can't get Velocity up?

Posted by Jason van Zyl <jv...@periapt.com>.
Hi,

I'll work on a .bat file, I don't think it works right now.
This stuff is all alpha so don't expect much and it will
change pretty much on a daily basis. It's the bleeding
edge.

jvz.

On Wed, 6 Sep 2000, Amandeep Jawa wrote:

> Hey folks -
> 
> Sorry to ask this here but I have been trying to figure out how to get
> Velocity running with no luck, I can't find a FAQ & the Jakarta FAQ has
> been down for the last 5
>  days!!!......
> 
> I'm trying to get Velocity up & running on my Win2000 box (& later
> Solaris) - but I keep running into problem after problem!
> 
> So far I think I have ant set up ok - but I can't prove it.... & now when I
> try to build velocity (using the /buil/build-velocity.bat) I get the
> following output.....
> 
> 
> -------------------------------------------------------
> C:\Development\CVSVelo\jakarta-velocity\build>build-velocity
> Now building jar...
> Classpath: C:\sybase\ASEP\3pclass.zip;C:\sybase\ASEP\monclass.zip;C:\Program
> Fil
> es\Sybase\Shared\Sun\jdk118\lib\classes.zip;C:\Program Files\Sybase\Jaguar
> CTS 3
> .5\html\classes;C:\Program Files\Sybase\Jaguar CTS
> 3.5\java\classes;C:\Program F
> iles\Sybase\Shared\PowerBuilder\classes.zip;.;C:\jdk1.3\lib\tools.jar;C:\jdk
> 1.3\
> lib\tools.jar;;ant.jar;xml.jar
> JAVA_HOME: C:\jdk1.3
> Buildfile: build-velocity.xml
>     [chmod] The src attribute is deprecated. Please use the file attribute.
> 
> init:
> 
> prepare:
> 
> compile:
>     [javac] Compiling 67 source files to
> C:\Development\CVSVelo\jakarta-velocity
> \bin\classes
> 
> BUILD FAILED
> 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
>         at
> org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:527)
>         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:295)
>         at org.apache.tools.ant.Target.execute(Target.java:132)
>         at org.apache.tools.ant.Project.runTarget(Project.java:717)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
>         at org.apache.tools.ant.Main.runBuild(Main.java:279)
>         at org.apache.tools.ant.Main.main(Main.java:107)
> 
> Total time: 1 seconds
> -------------------------------------------------------
> 
> 
> Arrgh - OK I have the tools.jar in my path (TWICE - but that should be OK
> right?) & I get the no Javac error you see above - any help would be VERY
> appreciated!
> 
> 'deep
> 
> 
> --------------------------
> Amandeep Jawa
> Imagelock, Inc.
> --------------------------
> deep@imagelock.com
> 1725 Montgomery St
> San Francisco CA 94111
> 
> Work: 415 616 7262 (616 SAMBA)
> Fax: 415 392 5382
> 
> http://www.imagelock.com
> 
> 
> 
> 

-- 

Jason van Zyl
jvanzyl@periapt.com