Re: Centos deployment

2014-11-30 Thread Larry Mills-Gahl
I’m building a CentOS7 box and came across the repositories for CentOS6 (no v7 
in the repo)

It looks like the build works fine, but, I thought I’d ask if anybody has a 
CentOS 7 build. If there is any interest, I can do a build against a clean 
centos7 system.


Larry Mills-Gahl
elem...@gmail.com






 On May 1, 2014, at 2:13 PM, Pascal Robert prob...@macti.ca wrote:
 
 Or pass -L in the curl arguments:
 
 curl -L -o /etc/yum.repos.d/wocommunity.repo 
 https://raw.github.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo
 
 - Mail original -
 De: Fabian Peters lists.fab...@e-lumo.com
 À: WebObjects Development webobjects-dev@lists.apple.com
 Cc: Paul Yu p...@mac.com
 Envoyé: Jeudi 1 Mai 2014 13:52:04
 Objet: Re: Centos deployment
 
 Hi Paul,
 
 It looks like the github URL in the guide now redirects to 
 https://raw.githubusercontent.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo;.
  Try that one on step 2.
 
 Fabian
 
 Am 01.05.2014 um 18:54 schrieb Paul Yu p...@mac.com:
 
 Greetings
 
 I'm trying to setup a new CentOS 6 server and am following the instructions 
 here.
 
 
 http://wiki.wocommunity.org/pages/viewpage.action?pageId=8585219
 
 when I try to execute step 3.
 
 sudo yum install wotaskd; sudo yum install womonitor;
 
 I'm getting the following
 [root@hawk893 ~]# yum install wotaskd
 Setting up Install Process
 No package wotaskd available.
 Error: Nothing to do
 
 Where did I do wrong?
 
 Paul
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
 
 This email sent to elem...@gmail.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

ERXTimestampUtilities.differenceByDay doesn't work correctly

2014-11-30 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
Hello there,

is it possible, that ERXTimestampUtilities.differenceByDay doesn't work 
correctly?

I have the following piece of code: 

 NSTimestamp dec312015 = new NSTimestamp(2015, 12, 31, 0, 0, 0, null);
 NSTimestamp jan012016 = new NSTimestamp(2016,  1,  1, 0, 0, 0, null);
   
 NSLog.out.appendln(ERX 2015/2016: 
 +ERXTimestampUtilities.differenceByDay(dec312015, jan012016));
 
 NSTimestamp dec312016 = new NSTimestamp(2016, 12, 31, 0, 0, 0, null);
 NSTimestamp jan012017 = new NSTimestamp(2017,  1,  1, 0, 0, 0, null);
 
 NSLog.out.appendln(ERX 2016/2017: 
 +ERXTimestampUtilities.differenceByDay(dec312016, jan012017));

The output is:

ERX 2015/2016: 1
ERX 2016/2017: 0

This is obviously wrong because it should return 1 in both cases.

I think the culprit is 
ERXTimestampUtilities.offsetForDateInCommonEra(NSTimestamp t, int mode), 
because ERXTimestampUtilities.differenceByDay simply calculates 

 offsetForDateInCommonEra(t2, mode) - offsetForDateInCommonEra(t1, mode);


with mode=Calendar.DAY_OF_YEAR.

If you pass mode=Calendar.DAY_OF_YEAR and a timestamp to 
ERXTimestampUtilities.offsetForDateInCommonEra, it calculates

 case Calendar.DAY_OF_YEAR:
 return calendar.get(Calendar.YEAR) * 365 + 
 calendar.get(Calendar.DAY_OF_YEAR);


So it simply takes the number of years times 365. But 365 is not the right 
value for leap years.

Can someone confirm that ERXTimestampUtilities.differenceByDay is buggy? Or am 
I completely wrong?

C.U.CW
-- 
The three great virtues of a programmer are Laziness, Impatience and Hubris. 
(Randal Schwartz)



signature.asc
Description: Message signed with OpenPGP using GPGMail
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Ponder: filteringComponent ?

2014-11-30 Thread James Cicenia
Ramsey -

Do you have a default filtering component for the list pages or an example of 
one you could share?

Thanks
James




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com