Re: where's the "JSPWiki.war" file?

"David Au" <[email protected]> Tue, 11 Sep 2007 16:21:00 -0500
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
This compilation error occurs when JDK 1.6 is used. Try compiling with
1.5 instead.

David


On 9/11/07, Itai Be'erli <[email protected]> wrote:
> Hi Andrew,
>
> Thanks for your reply.
>
> Yes, i do have "ant" installed. I've tried running "ant war", as per your suggestion. Unfortunately, the execution failed, and a "JSPWiki.war" file was not created. Here's the output that was printed to screen, while the command was executing:
> ===
> Buildfile: build.xml
>
> installinit:
>     [mkdir] Created dir: /tmp/itay/JSPWiki/install
>     [mkdir] Created dir: /tmp/itay/JSPWiki/cvssrc
>     [mkdir] Created dir: /home/i/downloads/JSPWiki/releases
>
> mkpropertyfile:
>      [copy] Copying 1 file to /home/i/downloads/JSPWiki/etc
>      [copy] Copying 1 file to /home/i/downloads/JSPWiki/tests/etc
>      [copy] Copying 1 file to /home/i/downloads/JSPWiki/tests/etc
>      [copy] Copying 1 file to /home/i/downloads/JSPWiki/tests/etc
>
> init:
>     [mkdir] Created dir: /home/i/downloads/JSPWiki/build
>     [mkdir] Created dir: /home/i/downloads/JSPWiki/tests/build
>     [mkdir] Created dir: /home/i/downloads/JSPWiki/tests/reports
>     [mkdir] Created dir: /tmp/testrepository
>
> compile:
>     [javac] Compiling 309 source files to /home/i/downloads/JSPWiki/build
>     [javac] /home/i/downloads/JSPWiki/src/com/ecyrd/jspwiki/tags/BreadcrumbsTag.java:165: push(java.lang.Object) in com.ecyrd.jspwiki.tags.BreadcrumbsTag.FixedQueue cannot implement push(java.lang.Object) in java.util.Deque; attempting to assign weaker access privileges; was public
>     [javac]         Object push(Object o)
>     [javac]                ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 error
>
> BUILD FAILED
> /home/i/downloads/JSPWiki/build.xml:218: Compile failed; see the compiler error output for details.
>
> Total time: 36 seconds
> ===
>
>
>
> > From: [email protected]
> > Subject: Re: [Jspwiki-users] where's the "JSPWiki.war" file?
> > Date: Tue, 11 Sep 2007 16:33:17 -0400
> > To: [email protected]
> >
> > The directions assume that you are using the binary distribution, not
> > building the WAR file from scratch. At the command line, try running
> > the 'ant war' command; this will generate the WAR file. You do have
> > Ant installed, no?
> >
> > Andrew
> >
> > On Sep 11, 2007, at 3:56 PM, Itai Be'erli wrote:
> >
> > > I'm trying to deploy JSPWiki 2.4.103 in my JBoss 4.0.5 by following
> > > the
> > > installation instructions in the README file (as suggested in the
> > > "Installation" section of the following document:
> > > http://www.jspwiki.org/wiki/JSPWikiDownload#section-JSPWikiDownload-
> > > Installation).
> > > The README file reads: "Drop the JSPWiki.war file in your <tomcat
> > > home>/webapps/ directory." But there's no file named "JSPWiki.war"
> > > in all of my JSPWiki directory tree (i've searched for it using the
> > > following command: "$ find ~/JSPWiki JSPWiki.war"). What am i doing
> > > wrong?
> > > _________________________________________________________________
> > > News, entertainment and everything you care about at Live.com. Get
> > > it now!
> > > http://www.live.com/getstarted.aspx
> > > _______________________________________________
> > > This is the Jspwiki-users mailing list, in which we discuss the
> > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> > > For development discussion, please join jspwiki-dev.
> > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> > > http://www.jspwiki.org/JSPWikiMailingList
> >
> > _______________________________________________
> > This is the Jspwiki-users mailing list, in which we discuss the
> > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> > For development discussion, please join jspwiki-dev.
> > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> > http://www.jspwiki.org/JSPWikiMailingList
>
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList
>