Complete.Org: Mailing Lists: Archives: freeciv-java: December 2001:
[FreeCiv-Java] Re: Build: jfreeciv FAILED to build
Home

[FreeCiv-Java] Re: Build: jfreeciv FAILED to build

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-java@xxxxxxxxxxx>
Subject: [FreeCiv-Java] Re: Build: jfreeciv FAILED to build
From: "Brian Duff" <Brian.Duff@xxxxxxxxxx>
Date: Thu, 13 Dec 2001 13:47:21 -0000

Although my point about performance was lame, Artur made a much better
point: there are features in 1.4 which we currently can't use without doing
reflection. For instance, I'm already doing this to distinguish whether
keyboard events came from the numeric keyboard. This is a new API in 1.4,
which I'm using reflection to access based on whether or not the
java.version is 1.4 or above.

If we used new 1.4 features directly, you would get runtime exceptions when
the new features are used while the code is running on a 1.3 runtime (in
other words, parts of the client wouldn't work). I don't think it's worth
the extra effort (and decrease in code readability) maintaining backwards
compatibility (with reflection, a single method call = ~6 lines of code,
including exception handling). I think by the time JFreeciv is in a playable
state, 1.4 will pretty much be the de-facto version of the runtime.

Anyone who wants to use jfreeciv is going to have to be comfortable
installing a JRE. I don't think it matters to people too much which version.

Brian

----- Original Message -----
From: "Gary Frederick" <gary.frederick@xxxxxxxxx>
To: <freeciv-java@xxxxxxxxxxx>
Sent: Thursday, December 13, 2001 12:29 PM
Subject: [FreeCiv-Java] Re: Build: jfreeciv FAILED to build


> What impact is there in moving to 1.4 for those that will just run
> jfreeciv? Will there be a problem if I have an older runtime and try to
> run something written with 1.4?
>
>
>
> then again, who will be running jfreeciv? people that are comfortable
> with installing 1.4 if they want to play and it's a requirement or those
> that would not?
>
> Gary
>
> Brian Duff wrote:
>
> > Since this was a 1.4 / 1.3 issue, I wanted to maybe suggest we
standardize
> > on 1.4 again.
> >
> > I know we already discussed this, but Sun's release schedule for 1.4
> > indicates it's nearly out the door. But more importantly, I've noticed
that
> > jfreeciv is considerably faster under 1.4 than 1.3 (just try scrolling
the
> > map a lot under each JDK)...
> >
> > Maybe we need a voting system like freeciv.org? ;)
> >
> > Brian
> >
> > ----- Original Message -----
> > From: "Build Manager" <buildman@xxxxxxxxxxxxxxxx>
> > To: <freeciv-java@xxxxxxxxxxx>
> > Sent: Thursday, December 13, 2001 12:10 AM
> > Subject: [FreeCiv-Java] Build: jfreeciv FAILED to build
> >
> >
> >
> >>The Build for jfreeciv failed on 2001-12-13 at 00:10:01. The build log
is
> >>
> > below:
> >
> >>Buildfile: build.xml
> >>
> >>init:
> >>     [echo] jfreeciv build started December 13 2001 at 0010
> >>
> >>pullsrc:
> >>
> >>copyfiles:
> >>     [copy] Copying 1 file to /home/buildman/build/jfreeciv/class
> >>
> >>src:
> >>    [javac] Compiling 275 source files to
> >>
> > /home/buildman/build/jfreeciv/class
> >
> >>    [javac]
> >>
> >
/home/buildman/build/jfreeciv/src/org/freeciv/client/dialog/DialogManager.ja
> > va:246: cannot resolve symbol
> >
> >>    [javac] symbol  : method showInputDialog
> >>
> > (org.freeciv.client.MainWindow,java.lang.String,java.lang.String)
> >
> >>    [javac] location: class javax.swing.JOptionPane
> >>    [javac]     return JOptionPane.showInputDialog(
> >>
> > m_client.getMainWindow(),
> >
> >>    [javac]                       ^
> >>    [javac] 1 error
> >>
> >>BUILD FAILED
> >>
> >>/home/buildman/build/jfreeciv/build.xml:82: Compile failed, messages
> >>
> > should have been provided.
> >
> >>Total time: 30 seconds
> >>
> >>
> >>
> >
>
>
>
>
>



[Prev in Thread] Current Thread [Next in Thread]