Re: Barracuda: Gettin Started with Barracuda
Ravi Anand <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Jake
Thanx for ur time .I hv followed the steps but i m
getting some problem, please hv a look at it:
I am using j2sdk1.4.1_01, Tomcat4.1.18 and
jakarta-ant-1.5.1 on windows os.
these are the steps i performed:
1) Installed jakarta-ant-1.5.1 and set ANT_HOME and
put ANT_HOME/bin in my system path
2) removed XercesImpl.jar and xmp-apis.jar frm
ANT_HOME/lib.
3) Installed Tomcat4.1.18 and set CATALINA_HOME.
4) Installed latest cvs-1-11-4 that contains a
Barracuda folder, a cvs-1-11-4.exe file, a NEWS file
and a README file : a total of four things. I hv put
this cvs as "C:\cvs-1-11-4".
5) copied jtidy-r7-xmlc-2.1.jar, gnu-regexp-1.1.4,
xerces-1.4.4-xmlc-2.1.jar, xmlc-2.1.jar from
"C:\cvs-1-11-4\Barracuda\WEB-INF\jars" to
"CATALINA_HOME:\shared\lib".
6) started TOMCAT
7) run "C:\cvs-1-11-4\Barracuda\src\ ant contrib "
frm command prompt
the RESULT is :
------
C:\cvs-1-11-4\Barracuda\src>ant contrib
Buildfile: build.xml
sample.init:
[copy] Copying 1 file to
C:\cvs-1-11-4\Barracuda\src
[copy] Copying 5 files to
C:\cvs-1-11-4\Barracuda\WEB-INF
taskdefs.init:
[mkdir] Created dir:
C:\cvs-1-11-4\Barracuda\WEB-INF\classes
source.init:
[mkdir] Created dir:
C:\cvs-1-11-4\Barracuda\WEB-INF\classes\xlib
[mkdir] Created dir:
C:\cvs-1-11-4\Barracuda\WEB-INF\tmp$\src_events
[mkdir] Created dir:
C:\cvs-1-11-4\Barracuda\WEB-INF\tmp$\src_xmlc
[mkdir] Created dir:
C:\cvs-1-11-4\Barracuda\unit_tests
[mkdir] Created dir:
C:\cvs-1-11-4\Barracuda\unit_tests\reports
init:
taskdefs.compile:
[javac] Compiling 8 source files to
C:\cvs-1-11-4\Barracuda\WEB-INF\classes
[copy] Copying 1 file to
C:\cvs-1-11-4\Barracuda\WEB-INF\classes\org\enhydra\barracuda\taskdefs
[copy] Copying 2 files to
C:\cvs-1-11-4\Barracuda\WEB-INF\classes\xlib\dtds
taskdefs:
[jar] Building jar:
C:\cvs-1-11-4\Barracuda\WEB-INF\jars\barracuda-ant.jar
compile_core:
[javac] Compiling 232 source files to
C:\cvs-1-11-4\Barracuda\WEB-INF\classes
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletRequest
[javac] symbol : method getRequestURL ()
[javac] location: interface
javax.servlet.http.HttpServletRequest
[javac] public StringBuffer getRequestURL()
{return req.getRequestURL();}
[javac]
^
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletRequest
[javac] symbol : method setCharacterEncoding
(java.lang.String)
[javac] location: interface
javax.servlet.http.HttpServletRequest
[javac] req.setCharacterEncoding(env);
[javac] ^
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletRequest
[javac] symbol : method getParameterMap ()
[javac] location: interface
javax.servlet.http.HttpServletRequest
[javac] return req.getParameterMap();
[javac] ^
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\webapp\log4j\Log4jApplicationWatch.jav
[javac] symbol : method getServletContextName ()
[javac] location: interface
javax.servlet.ServletContext
[javac] context.log("Cleaning up Log4j
resources for context: " + context.getServletCont
[javac]
^
[javac] Note: Some input files use or override a
deprecated API.
[javac] Note: Recompile with -deprecation for
details.
[javac] 4 errors
BUILD FAILED
file:C:/cvs-1-11-4/Barracuda/src/build.xml:527:
Compile failed; see the compiler error output for de
Total time: 43 seconds
C:\cvs-1-11-4\Barracuda\src>
-----------------------------------------------
Again after this I copied "xerces-1.4.4-xmlc-2.1.jar"
from "C:\cvs-1-11-4\Barracuda\WEB-INF\jars" to
"ANT_HOME\lib" and then again tried to run it
"C:\cvs-1-11-4\Barracuda\src\ ant contrib " frm
command prompt. then i got this :
---------
C:\cvs-1-11-4\Barracuda\src>ant contrib
Buildfile: build.xml
sample.init:
taskdefs.init:
source.init:
init:
taskdefs.compile:
taskdefs:
compile_core:
[javac] Compiling 135 source files to
C:\cvs-1-11-4\Barracuda\WEB-INF\classes
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletRequest
[javac] symbol : method getRequestURL ()
[javac] location: interface
javax.servlet.http.HttpServletRequest
[javac] public StringBuffer getRequestURL()
{return req.getRequestURL();}
[javac]
^
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletRequest
[javac] symbol : method setCharacterEncoding
(java.lang.String)
[javac] location: interface
javax.servlet.http.HttpServletRequest
[javac] req.setCharacterEncoding(env);
[javac] ^
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletRequest
[javac] symbol : method getParameterMap ()
[javac] location: interface
javax.servlet.http.HttpServletRequest
[javac] return req.getParameterMap();
[javac] ^
[javac]
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\webapp\log4j\Log4jApplicationWatch.jav
[javac] symbol : method getServletContextName ()
[javac] location: interface
javax.servlet.ServletContext
[javac] context.log("Cleaning up Log4j
resources for context: " + context.getServletCont
[javac]
^
[javac] Note:
C:\cvs-1-11-4\Barracuda\src\org\enhydra\barracuda\core\helper\servlet\HttpServletR
[javac] Note: Recompile with -deprecation for
details.
[javac] 4 errors
BUILD FAILED
file:C:/cvs-1-11-4/Barracuda/src/build.xml:527:
Compile failed; see the compiler error output for de
Total time: 31 seconds
C:\cvs-1-11-4\Barracuda\src>
--------------------------------
Please help me out with this as i m not able to figure
out as what is going wrong. An earliest response on
this is requested.
one more thing where to put my own project??
Wish u all a very happy and prosperus new year
regards,
Ravi Anand
--- Jacob Kjome <[email protected]> wrote:
> Hello Ravi,
>
> Sorry I didn't get to this earlier. I got a late
> start today.
>
> First, I would start with the latest CVS. It is
> quite
> stable...more so, in fact, than Barracuda-1.1.1.
> Second, I think you
> will find a great example in the contrib project
> that Diez B. Roggisch
> provided. It exists in the latest CVS.
>
> As far as instructions on use, I don't have time to
> lay out how to use
> the Forms models. We really do need some better
> docs on that, but I
> have no time to do that right now. In fact, I think
> there are others
> in the Barracuda community who would be able to do a
> better job with
> this than myself. I can tell you how to set things
> up for a quick
> start.
>
> 1. I suggest using j2sdk1.4.1_01 rather than JDK1.3
> but either will
> work.
>
> 2. Install Ant-1.5.1 and set ANT_HOME and put
> ANT_HOME/bin in your
> system Path. Remove XercesImpl.jar and xml-apis.jar
> from
> ANT_HOME/lib.
>
> 3. Install the latest version of Tomcat (currently
> Tomcat-4.1.18).
> Set CATALINA_HOME.
>
> 4. Get the latest Barracuda CVS (
> http://barracuda.enhydra.org/software/cvs/index.html
> ). I suggest
> using TortoiseCVS if you are using Windows (
> http://www.tortoisecvs.org/ ). If you are using
> JDK1.3, make sure to
> copy xerces-1.4.4-xmlc-2.1.jar from
> Barracuda/WEB-INF/jars to
> ANT_HOME/lib. In addition, copy said jar,
> xmlc-2.1.jar,
> gnu-regexp-1.1.4.jar, and jtidy-r7-xmlc-2.1.jar to
> CATALINA_HOME/shared/lib.
>
> 5. Start Tomcat and then run:
>
> ant contrib
>
> You will, eventually be prompted for the project to
> build and the
> target. For the project, either type "all" or
> "dbroggisch" and for
> target type "install".
>
> Alternatively, to do this in a more batch type
> process, you can run
> this:
>
> ant contrib -Dsubproject=dbroggisch
> -Dsubtarget=install
>
> 6. Access Diez contrib project by pointing your
> browser to:
>
> http://localhost:8080/contrib-dbroggisch/
>
>
> At this point, you can test his app out and then
> look at the
> sourcecode to see what is going on. Anything
> specific to the webapp
> will in
>
Barracuda/src/org/enhydra/barracuda/contrib/dbroggisch/webapp
> and any general libraries for this contrib project
> will be one
> directory back from "webapp". You can use this
> app's build.xml
> (inside "webapp") for your own project. It will
> provide a pretty good
> starter project for Barracuda apps.
>
> That's all I can provide for you at the moment. I
> have a deadline of
> my own to meet today and tomorrow. Send any further
> questions to the
> list. I'm sure there are other people who are
> willing to help you
> out.
>
> Good luck!
>
> Jake
>
> Monday, December 30, 2002, 4:17:20 AM, you wrote:
>
> RA> Hi!!
>
> RA> I am very new to Barracuda. I need to get
> started with
> RA> Barracuda in order to develop some sample
> RA> applications.
>
> RA> I have downloaded Barracuda1.1.1.zip . I need
> step by
> RA> step procedures to build it as i am a novice. I
> am
> RA> using JDK1.3, Tomcat3.2.1.
>
> RA> I need to use form validation and Client
> idetification
> RA> for my application plus i need to use page
> design
> RA> tools in order to see that how this framework
> provides
> RA> cleaner seperation betn presentation & logic.I
> need to
> RA> know how to start writing my application and frm
> RA> where?
>
> RA> I hv gone through previous listings in the mail
> RA> archive bt that didnt helped me i got confused.
> If you
> RA> could provide me with a simple step by step
> procedures
> RA> based on my requirements it would be of great
> help.
>
> RA> I am really in bad need of this information and
> i am
> RA> left with a little time for this.
> RA> regards,
> RA> Anand
>
>
>
> RA>
> __________________________________________________
> RA> Do you Yahoo!?
> RA> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> RA> http://mailplus.yahoo.com
> RA> _______________________________________________
> RA> Barracuda mailing list
> RA> [email protected]
> RA>
>
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
> RA> FAQ - http://www.jguru.com/faq/Barracuda
>
>
>
> --
> Best regards,
> Jacob
> mailto:[email protected]
>
> _______________________________________________
> Barracuda mailing list
> [email protected]
>
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
> FAQ - http://www.jguru.com/faq/Barracuda
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Barracuda mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
FAQ - http://www.jguru.com/faq/Barracuda