All:

Based on WT's non-public comment on the issue, SF's Git integration seems
problematic to say the least.

I submitted a few MR's tonight and #29 combines all three, so please push
that one of any of them. Sorry for the confusion.

----

You'll notice that the above MR attempts to add commons-lang3-3.4.jar as a
required dependency. That's not required for any of the code changes I've
made, but hopefully it will be useful in the future.

One of the issues I have with Java is that it just doesn't work the same
way as I'm used to in PHP and it's very strict with object types. It is
truly a different way of thinking that I have not mastered.

For instance, given ".addStringTemplate("%unit%", unit.getLabel())" in
ServerColony.java, the end result of unit.getLabel() needs to should be in
title case (for example, Printing press to Printing Press), so that when
the Message shows up it will read, for example: "Jamestown has completed
building Printing Press" where the "p" in press is currently not
capitalized. This is line #579.

If I could extract the string that unit.getLabel() produces (in other
words, just the text itself), then I could apply WordUtil's capitalizeFully
method to easily produce Printing Press from Printing press (again, that's
just an example).

I'm hoping one of you devs can point me in the right direction so that I
can stop banging my head against this wall. FWIW, I did find the toString
Method in StringTemplate.java as well as its SuperClass iteration in the
Java.String class, but I couldn't quite put 2 and 2 together (or in this
case morph a String Template object to a String object).

I appreciate all your patience on my Java learning journey.

Best,

-- 
*Caleb R. Williams*
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to