Re: Can't enable mod_webobjects logging

2022-07-12 Thread Henrique Prange via Webobjects-dev
for your help! Cheers, HP > On 11 Jul 2022, at 09:10, Henrique Prange wrote: > > Thanks for the pointers André and Markus. I’ll further investigate the issue > today. > > Cheers, > > HP > >> On 11 Jul 2022, at 06:40, Andre Rothe via Webobjects-dev >>

Re: Can't enable mod_webobjects logging

2022-07-11 Thread Henrique Prange via Webobjects-dev
gt; Am 11.07.22 um 10:19 schrieb Markus Stoll, junidas GmbH via Webobjects-dev: >> Hi Henrique >> >> I have no idea what Oracle Linux Server 8.6 is doing there, but this >> sounds as the apache child processes are running in some kind of sandbox. >> Maybe you

Can't enable mod_webobjects logging

2022-07-10 Thread Henrique Prange via Webobjects-dev
Hey guys, I'm struggling to enable the WebObjects Apache adaptor log on Oracle Linux Server 8.6. I've configured it to write to /tmp/WebObjects.log, but it prints the following message to Apache's error log: Failed to append to log file '/tmp/WebObjects.log': Permission denied. This can occur

Re: [Proposal] Drop Wonder's Ant Build

2022-06-21 Thread Henrique Prange via Webobjects-dev
Hey Ramsey, We have extracted the archetypes from the WOLips project into their own repository [1] under the WOCommunity organization. That's the best place to make the changes you're suggesting. I like your idea of removing unnecessary archetypes. We could narrow it down to just three

Re: [Proposal] Drop Wonder's Ant Build

2022-06-16 Thread Henrique Prange via Webobjects-dev
Hi Ted, Thanks for your feedback. > On 16 Jun 2022, at 19:47, Theodore Petrosky wrote: > > What about us guys whose projects are smallish projects and never instituted > Maven... We don't mean to cause any harm to existing users. However, supporting two build systems in Wonder slows down

[Proposal] Drop Wonder's Ant Build

2022-06-16 Thread Henrique Prange via Webobjects-dev
Hey guys, I've been talking to other Wonder users/committers lately. Keeping the Ant build configuration up to date in Wonder is becoming increasingly counterproductive. Most of us have been using Maven for years. As a result, our environments are not prepared to build the project with Ant,

Replacing log4j with slf4j in Wonder

2022-03-02 Thread Henrique Prange via Webobjects-dev
Hey guys! I'm replacing the log4j dependency with slf4j in Wonder, as promised. I've created a draft pull request [1] on GitHub so more people can comment, test, and assist me with this change. Please, take a look at it if you have time. Your comments are always welcome. Cheers, HP

WOString's valueWhenEmpty and escapeHTML

2020-12-08 Thread Henrique Prange via Webobjects-dev
Hey guys, Is there a reason for the WOString's valueWhenEmpty binding not be escaped when escapeHTML evaluates to true? Cheers, HP ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: ERFoundation question

2020-01-23 Thread Henrique Prange via Webobjects-dev
No, you’re not. There's no source code for the ERFoundation framework.  Sent from my iPhone > On 23 Jan 2020, at 13:51, Aaron Rosenzweig via Webobjects-dev > wrote: > > I want to put some logging messages in NSBundle.java that resides in > ERFoundation.jar but I don’t understand how to do

Re: Maven Unit tests with EOF

2020-01-22 Thread Henrique Prange via Webobjects-dev
Hey Aaron, This error rings a bell. I don't recall all the details. It looks like the collectMainProps method is trying to find the Properties file of your project in the wrong place. When you build your project in Eclipse with WOLips, it generates a build folder containing your project's WOA

Re: Wonder Source build error

2019-12-30 Thread Henrique Prange via Webobjects-dev
Hi Jeffrey, What Java version are you using to compile the code? If it's Java 11 or greater, this error is expected because the method destroy of the Thread class was removed. It's deprecated since Java 8. Currently, it's advisable to build Wonder with Java 8. You can still use the resulting

Re: Qualifier Evaluation with Object in Multiple Editing Contexts

2019-06-12 Thread Henrique Prange via Webobjects-dev
’d like to know sooner, rather than later. >> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/> >> e: aa...@chatnbike.com <mailto:aa...@chatnbike.com> t: (301) 956-2319 >> >> >>> On May 31, 2019, at 2:37 PM, Henrique Prange via Webobj

Re: Qualifier Evaluation with Object in Multiple Editing Contexts

2019-05-31 Thread Henrique Prange via Webobjects-dev
On 21 May 2019, at 08:22, Henrique Prange <mailto:hpra...@gmail.com>> wrote: > >> I've been using the EOQualifier.evaluateWithObject method to filter some EOs >> in memory. Everything works fine except for one particular case. It always >> returns false if I try to e

Qualifier Evaluation with Object in Multiple Editing Contexts

2019-05-20 Thread Henrique Prange
Hey guys, I've been using the EOQualifier.evaluateWithObject method to filter some EOs in memory. Everything works fine except for one particular case. It always returns false if I try to evaluate a qualifier containing EOs with an EO from another editing context. The code below demonstrates

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-18 Thread Henrique Prange
t; > Cheers, > > - Sharpy. > > >> On 18 Feb 2019, at 3:11 am, Henrique Prange > <mailto:hpra...@gmail.com>> wrote: >> >> Hi Michael, >> >> I've pushed a new branch eclipse_4_10 to track changes and fixes for Eclipse >> 2018-12 momentarily.

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-17 Thread Henrique Prange
Hi Michael, I've pushed a new branch eclipse_4_10 to track changes and fixes for Eclipse 2018-12 momentarily. Would you mind to create a pull request? Cheers, HP > On Feb 14, 2019, at 10:00 PM, Michael Sharp wrote: > > Hi Samuel, > > I’m happy to create a pull request but I’m not sure

Re: EOEnterpriseObjectClazz with interface

2018-11-20 Thread Henrique Prange
Hey Mark, Even if Java allowed you to override static methods of an interface, you would still have problems to discover the classes that implement them in runtime. In the end, it doesn't matter if you remember to implement the static method in your subclass if you forget to call it somewhere

WOCommynity Maven Repository via HTTPS

2018-11-01 Thread Henrique Prange
Hey guys, Just a quick update here. You can now access the WOCommunity Maven Repository via HTTPS. We've configured HTTP requests to redirect permanently to HTTPS. For this reason, it's a good idea to update your settings to reflect that change. Please, let me know if you have any problems.

Re: WO and Java 11

2018-10-16 Thread Henrique Prange
Hi Hugi, I did some experiments using Java 11 last weekend. I've tried to migrate our main application. It's a large app containing approximately 7200 unit tests. I was expecting lots of issues. Surprisingly, though, I found just a handful of them. 1. WOInject doesn't work The custom

Re: [SPAM] Issue with maven.wocommunity.org? [Was: Re: certficate on wocommunity.org]

2018-03-06 Thread Henrique Prange
Hi Maik, No. It doesn’t. Cheers, HP > On Mar 6, 2018, at 11:30 AM, Maik Musall <m...@selbstdenker.ag> wrote: > > Done > > (DNS TTL 300 seconds) > > I suppose that thing doesn't have TLS? > >> Am 06.03.2018 um 15:03 schrieb Henrique Prange <hpra...@

Re: Issue with maven.wocommunity.org? [Was: Re: certficate on wocommunity.org]

2018-03-06 Thread Henrique Prange
Hi Paul and Maik, Could you please point maven.wocommunity.org to 54.236.115.197? That is the elastic IP of the instance running the Nexus repository on our AWS account. Cheers, HP > On Mar 6, 2018, at 7:13 AM, Paul Hoadley wrote: > > Hi Maik, > > On 6 Mar 2018, at

Re: WOInject and WOUnit co-operation

2017-12-05 Thread Henrique Prange
Hi Paul, Even when testing non-EO related stuff, I favor injecting objects manually instead of relying on an injector. That said, the solution to your problem is a little bit more complicated since you need the injected object during the EO initialization. I see two options: Create a

Re: maven.wocommunity.org timeouts (2017-10-16)

2017-10-17 Thread Henrique Prange
Hi Dennis, For some unknown reason, the EC2 instance running the Maven WOCommunity Repository was stopped. I'm monitoring it now. Thanks for reporting and sorry for the inconvenience. Cheers, HP > On Oct 17, 2017, at 5:45 AM, Dennis Bliefernicht > wrote: >

Re: macOS Sierra Occasionally Very Slow

2016-11-22 Thread Henrique Prange
> And desktop limit I think is around 200. >> >> Sent from my iPhone >> >>> On Nov 18, 2016, at 9:49 AM, Henrique Prange <hpra...@gmail.com> wrote: >>> >>> Hi Stavros, >>> >>> I'm having issues on my development machine. We

Re: macOS Sierra Occasionally Very Slow

2016-11-18 Thread Henrique Prange
webobjects-dev-requ...@lists.apple.com >> >> You can reach the person managing the list at >> webobjects-dev-ow...@lists.apple.com >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Webobjects-dev digest...&quo

macOS Sierra Occasionally Very Slow

2016-11-17 Thread Henrique Prange
Hi guys, I've been experiencing two issues since updating to macOS Sierra. 1) App and tests throwing "java.lang.IllegalStateException: Cannot guarantee unique global ID generation: InetAddress for local host not accessible" exception 2) Unit tests occasionally running very slowly. I've

Re: Maven with subdirectories within the src/main/components/ path

2016-09-06 Thread Henrique Prange
Hi Hugi, The code is there. How it’s organized is kinda of weird, though. I’ve created a new branch called maven-plugins-current [1]. It points to the last commit related to the Maven plugins. You can start from that point if you want. Or even better, you could start from a branch on my own

Re: Maven, two apps with direct connect SSL, one works

2016-07-05 Thread Henrique Prange
Hi Ramsey, AFAICT, Wonder doesn’t support loading Properties.* files from inside JAR frameworks properly. I guess that is why the property hasn’t been loaded as expected. Anyway, it’s been a long time since I last looked into that issue, and I may be wrong. I’ve quit trying to use Properties.*

Re: Maven not copying java resources into jar file

2016-03-22 Thread Henrique Prange
Hi Hugi, AFAIR, the wolifecycle-maven-plugin copies all files from src/main/resources into the Resources folder. However, you can use the maven-resources-plugin to copy the required files into the Maven output directory. maven-resources-plugin 2.6

Re: How to set up a stateful REST service

2016-01-29 Thread Henrique Prange
Hi Rudi, Having state on the server isn’t recommended for REST services. If you need state and want to keep your service scalable, try storing the session information on the client. That said, if you really want to store the session on the server, take a look at the sessionID method of the

Re: woframework vs jar packaging in maven

2015-12-10 Thread Henrique Prange
Hi Ramsey and Faizel, Also, the woframework creates the Resources/Info.plist file if you project doesn’t have it. This file is what makes a jar an WO bundle. Cheers, Henrique > On 10 de dez de 2015, at 10:28, Faizel Dakri wrote: > > The woframework packaging creates a jar

Re: Maven builds and WOBootstrap.jar

2015-11-20 Thread Henrique Prange
map that 3.0 was intended to merge/replace > the woproject ant stuff. > > https://wiki.wocommunity.org/display/WOL/Roadmap > <https://wiki.wocommunity.org/display/WOL/Roadmap> > > Have you ever made a branch for that or had any progress in that direction? > Are ther

Re: Maven builds and WOBootstrap.jar

2015-11-18 Thread Henrique Prange
Hi Ramsey, Theoretically, defining the wo.bootstrapjar variable in the build.properties should work. Defining the full path as you did is another option too. However, as soon as the Maven plugin uses an old version of woproject-ant-tasks, it may not work as we expect it to work (considering

Re: Missing artifact com.google.code:jabsorb:jar:1.2.2

2015-10-13 Thread Henrique Prange
Hi guys, The Ajax framework requires jabsorb 1.2.2 and this version is not available in the Maven Central repository [1]. I’ve added the jabsorb 1.2.2 as a third party library into the WOCommunity repository. You shouldn’t have problems if you build your framework using the same settings.xml

Re: Abandonware???

2015-10-05 Thread Henrique Prange
by Apple as a supported >> product == Abandonware >> >> My opinion. >> >> D > > On Mon, 05 Oct 2015 12:23:25 -0300 > Henrique Prange <hpra...@gmail.com> wrote: > >> Hi Paul, >> >> "Although such software is usually still

Re: Abandonware???

2015-10-05 Thread Henrique Prange
Hi Paul, "Although such software is usually still under copyright, the owner may not be tracking or enforcing copyright violations." Apple doesn’t need to release the copyright to turn WebObjects into Abandonware. I see no problem if we declare WebObjects as Abandonware and Apple doesn’t

Re: maven.wocommunity.org : server not responding ?

2015-09-25 Thread Henrique Prange
Hi Thomas, The WOCommunity Repository is back up. I haven’t finished the migration to the new server yet. Therefore, you may experience occasional hiccups while connecting to it in the next few days. I’m sorry for that inconvenience. Cheers, Henrique > On 25/09/2015, at 08:17, Henri

Re: maven.wocommunity.org : server not responding ?

2015-09-25 Thread Henrique Prange
Hi Thomas, Yes, the service is down right now. The AWS instance which hosts the repository is old and is lacking resources. I'll have to migrate to a new instance on Amazon during the weekend. I'm trying to put it back up temporarily while the migration process isn't complete. Cheers,

[ANN] Wonder 6.1.4

2015-09-15 Thread Henrique Prange
The WOCommunity team is pleased to announce the release of Wonder 6.1.4. Ant users can download the distribution packages from the Wonder 6.1.4 release page: https://github.com/wocommunity/wonder/releases/tag/wonder-6.1.4 Maven and Gradle users can specify the version 6.1.4 in your project's

Re: WO Maven getting started

2015-09-13 Thread Henrique Prange
Ramsey, The last change to WebObjects Maven plugins were back in 2010. Lots of things changed since then in Maven tooling world. I took the time during the weekend to make the Maven plugin and the Maven archetypes compatible with the current features. I still have to make a release and update

Re: Moving Project Wonder Forward

2015-09-08 Thread Henrique Prange
. Cheers, Henrique > On 08/09/2015, at 04:22, René Bock <b...@salient.de> wrote: > > Hi, > > this sounds great! > > will wonder_6 be compiled with java 6 (and finally drop support for java 5)? > > >> Am 07.09.2015 um 23:56 schrieb Henrique Prange <hpra.

Moving Project Wonder Forward

2015-09-07 Thread Henrique Prange
Hi all, Sorry for double posting, but looks like not everybody is on the Wonder list. We’ve been talking in the wonder-committers mailing list lately and we think it’s time to move forward with Wonder. In that sense, we decided that it’s time to move to Java 8. A few reasons why moving to Java

Re: Ajax Response Problem

2015-09-02 Thread Henrique Prange
Hi Oscar, Take a look at the raw Ajax request response. What is the mime-type of the response? What do you see in the body of the response? Cheers, Henrique > On 31/08/2015, at 20:35, Oscar González wrote: > > Hi all, > I have an application that use ajax, it works

Re: Recurring willUpdate Notifications Problem

2015-08-18 Thread Henrique Prange
, newInsertedObjects); notifedInsertedObjects.addAll(newInsertedObjects); ... for updated and deleted objects } The didXXX does not have this problem since the save is done and the objects are all known. Le 2015-08-11 à 16:22, Henrique Prange hpra...@gmail.com a écrit : Hey guys

Recurring willUpdate Notifications Problem

2015-08-11 Thread Henrique Prange
Hey guys, I’ve been using Wonder’s augmented transaction methods in combination with notifications to encourage a loosely coupled design. Over time, I've been increasingly applying this kind of solution on my systems. Now, I'm facing a problem when expecting to produce notifications for

Re: Java 8 optionals

2015-05-25 Thread Henrique Prange
On 25/05/2015, at 05:37, Johann Werner j...@oyosys.com wrote: Hi Mark, NSKeyValueCoding.DefaultImplementation is a static class which renders it quite difficult to modify or replace some functionality. One way to do so would be to reimplement the class with your modifications and put

Re: Using WO with modern dependency management

2015-05-06 Thread Henrique Prange
When people start looking into an alternative to Ant, it's usually because of the lack of dependency management. Not having dependency management for libraries nowadays is as bad as not having a VCS for source code. Ant+Ivy, Maven and Gradle offer this feature in a very similar way. The problem

Re: maven.wocommunity.org is down

2015-02-27 Thread Henrique Prange
? Thanks in advance! Greetings, Patrick Am 27.01.15 um 18:11 schrieb Henrique Prange: Hi Dennis, The repository is back up. Thanks for reporting the problem. Cheers, Henrique On 27/01/2015, at 13:36, Dennis Bliefernicht dennis.blieferni...@xyrality.com wrote: Hi everyone, looks

[ANN] WOInject 1.2

2015-02-05 Thread Henrique Prange
The WOCommunity team is pleased to announce the release of WOInject 1.2 and 1.1.1. WOInject is a dependency injection framework for WebObjects based on Google Guice. See the WOInject website for more information: http://hprange.github.io/woinject/ Maven users should specify the version in

Re: maven.wocommunity.org is down

2015-01-27 Thread Henrique Prange
Hi Dennis, The repository is back up. Thanks for reporting the problem. Cheers, Henrique On 27/01/2015, at 13:36, Dennis Bliefernicht dennis.blieferni...@xyrality.com wrote: Hi everyone, looks like it is down again, pinging here, hopefully someone can fix it :-) Greetings Dennis

Re: Best way to run static class method from a string?

2014-12-09 Thread Henrique Prange
Hi James, You can use reflection to call that entity’s static method. You just need to discover the corresponding class name for that entity in the first place. String entityName = YourEntityName; EOEntity entity = EOModelGroup.defaultGroup().entityNamed(entityName); Class? clazz =

Re: WOCommunity maven repository down?

2014-11-17 Thread Henrique Prange
Hi Faizel, Sorry about that. It’s back up again. Cheers, Henrique On 13/11/2014, at 15:02, Faizel Dakri list...@dakri.com wrote: It appears as though the WOCommunity maven repo is down: Service Temporarily Unavailable The server is temporarily unable to service your request due to

Re: maven.wocommunity.org is down

2014-09-11 Thread Henrique Prange
Hi Dennis, Thanks for reporting. The service is back up. Cheers, Henrique On 11/09/2014, at 12:27, Dennis Bliefernicht dennis.blieferni...@xyrality.com wrote: Hi everyone, unfortunately the maven.wocommunity.org has gone down (Service unavailable), at least since yesterday we could

WebObjects Puppet Module

2014-07-23 Thread Henrique Prange
Hi all, I know some people have been using Puppet to deploy WO applications. Is there any WebObjects Puppet module out there? Cheers, Henrique ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: maven.wocommunity.org is down

2014-07-22 Thread Henrique Prange
Pascal, Thanks for reporting. The service is back up. Cheers, Henrique On 21/07/2014, at 15:12, Pascal Robert prob...@macti.ca wrote: I'm getting: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems.

[ANN] WOUnit 1.2.3

2014-02-22 Thread Henrique Prange
The WOCommunity team is pleased to announce the release of WOUnit 1.2.3. This release includes fixes for bugs reported by the community. The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities. See the WOUnit website for more

Re: WOUnit testing with partial entities

2014-02-21 Thread Henrique Prange
Hi Paul, The partial entities initialization could happen before some models are loaded. In this new version of WOUnit, the partial support is initialized after all models are completely loaded. Could you give it a try? You can download the latest version here [1].

Re: WOUnit testing with partial entities

2014-02-20 Thread Henrique Prange
.: Sorry for taking so long to fix this problem in the proper way. On 19/02/2014, at 17:55, Paul Hoadley pa...@logicsquad.net wrote: On 20/02/2014, at 3:56 AM, Henrique Prange hpra...@gmail.com wrote: I have to push some changes to GitHub (including the partials solution). I’m trying to find

Re: WOUnit testing with partial entities

2014-02-19 Thread Henrique Prange
Hi Paul, I have to push some changes to GitHub (including the partials solution). I’m trying to find some time this week. I’ll let you know as soon as the changes are in the WOUnit repository. Cheers, Henrique On 19/02/2014, at 05:40, Paul Hoadley pa...@logicsquad.net wrote: On 03/02/2014,

Re: Maven

2013-12-23 Thread Henrique Prange
Hi Ron, Do you still have problems accessing the Maven repository? Cheers, Henrique On 18/12/2013, at 07:40, Ron X ron.x.by...@gmail.com wrote: Hi to all! I have some problems with maven I could not resolve: [ERROR] Unresolveable build extension: Plugin

Re: Error at start with KeyValue

2013-12-23 Thread Henrique Prange
Hi Ron, Have you checked this [1] tutorial? You have to configure the classpath before running the application successfully. [1]http://wiki.wocommunity.org/display/documentation/Maven+Running+or+Debugging+as+WO+Application Cheers, Henrique On 20/12/2013, at 12:28, Ron X ron.x.by...@gmail.com

Re: Maven Archetypes Problem

2013-12-23 Thread Henrique Prange
Hi Ron, The Maven archetypes need some love. Following Greg’s advice should solve the problem for now. Cheers, Henrique On 20/12/2013, at 14:31, Ron X ron.x.by...@gmail.com wrote: But I need servlet support to create war Therefore I used erxapplication-selvlet-archetype WebRep

Re: Inheritance ERRest

2013-12-07 Thread Henrique Prange
original - De: Henrique Prange hpra...@gmail.com À: webobjects-dev@lists.apple.com Cc: Elizio Marcelino elizio.marcel...@gmail.com Envoyé: Mercredi 4 Décembre 2013 08:42:09 Objet: Re: Inheritance ERRest Hi all, We've found out this is a bug. The ERRestRequestNode ignores the type

Re: processRecentChanges makes me sad

2013-12-05 Thread Henrique Prange
Hi Hugi, The problem you’re trying to solve looks like a cross cutting concern [1]. You could use an aspect-oriented framework to encapsulate this kind of logic into aspects. AspectJ [2] is probably the most popular framework in this area. If your requirements aren't too high, you can also

Re: ERXCryptoString with ERRest

2013-12-04 Thread Henrique Prange
Hi all, I've been working with Elizio on this problem and we are having a hard time. :) We were unable to find the appropriate way to provide custom JSON parsers and writers in ERRest. Is that possible? If so, how? We've found a way to provide a custom writer by extending the ERRestJSONWriter

Re: Inheritance ERRest

2013-12-04 Thread Henrique Prange
Hi all, We've found out this is a bug. The ERRestRequestNode ignores the type field when creating objects for toOne and toMany relationships. We're going to create a pull request to fix this problem soon. BTW, is there a way to verify we didn't introduce a bug in ERRest while trying to fix

Re: WOBootstrap.jar importance

2013-12-03 Thread Henrique Prange
2013/12/2 Ralf Schuchardt r...@gmx.de Am 02.12.2013 um 13:58 schrieb Henrique Prange hpra...@gmail.com: Hey guys, Silly question: what is the importance/advantage of running WO applications from WOBootstrap.jar? It looks like WOBootstrap just make things complicated. It uses

WOBootstrap.jar importance

2013-12-02 Thread Henrique Prange
Hey guys, Silly question: what is the importance/advantage of running WO applications from WOBootstrap.jar? It looks like WOBootstrap just make things complicated. It uses an alternative class loader and the original classpath is incomplete. So, considering this drawbacks, which advantages

Re: Clarification on passing EOs to background threads

2013-09-27 Thread Henrique Prange
it's interesting to get to the bottom of the received wisdom on this issue.) On 27/09/2013, at 1:55 AM, Henrique Prange hpra...@gmail.com wrote: I've refactored the report generation in one of applications lately to use a background task. A few lessons that I learned: 1) Do not create

Re: Clarification on passing EOs to background threads

2013-09-26 Thread Henrique Prange
Hi Paul, I've refactored the report generation in one of applications lately to use a background task. A few lessons that I learned: 1) Do not create the editing context you're going to use in the background task during the request-response cycle. 2) Do not pass EOs to the background task.

Re: WOUnit testing with partial entities

2013-08-21 Thread Henrique Prange
changes. Would you mind to try it? [1]https://dl.dropboxusercontent.com/u/9599580/wounit-1.3-SNAPSHOT-3.jar Cheers, Henrique On 17/08/2013, at 08:29, Paul Hoadley pa...@logicsquad.net wrote: Hi Henrique, On 02/08/2013, at 9:08 AM, Henrique Prange hpra...@gmail.com wrote: Good to hear

Re: WOUnit testing with partial entities

2013-08-01 Thread Henrique Prange
: Hi Henrique, On 28/07/2013, at 11:58 AM, Henrique Prange hpra...@gmail.com wrote: Looks like WOUnit isn't doing the required initialization to make partial entities work. I've improved the way EOF is initialized in WOUnit to mimic the way Wonder initializes it. Could you try this version [1

Re: createPrototypeCache NullPointerException

2013-08-01 Thread Henrique Prange
Hi Martin, Looks like your REST initialization is occurring before EOF is completely initialized. Some things to check: 1) Does your Application constructor call super()? (I remember we talked about this at WOWODC) 2) Does your application manipulate EOF in the main method or before the REST

Re: WOUnit testing with partial entities

2013-07-27 Thread Henrique Prange
Hi Paul, Looks like WOUnit isn't doing the required initialization to make partial entities work. I've improved the way EOF is initialized in WOUnit to mimic the way Wonder initializes it. Could you try this version [1] of WOUnit. Does it fix the problem with your tests?

Re: WOInject failure on deploying app

2013-07-24 Thread Henrique Prange
by WOBootstrap.jar. He deployed and run his app without WOBootstrap.jar. So Henrique Prange, what do you think ? I go to try Alexis's method tomorrow at my office. WOBootstrap.jar is still necessary in a deploying WO apps? Thanks ___ Do

[ANN] WOInject 1.1

2013-07-20 Thread Henrique Prange
The WOCommunity team is pleased to announce the release of WOInject 1.1. WOInject is a dependency injection framework for WebObjects based on Google Guice. See the WOInject website for more information: http://hprange.github.io/woinject/ Maven users should specify the version in your project's

Re: How to make entity properties unique?

2013-07-19 Thread Henrique Prange
Hi Christoph, Even though I've never used it, I think you can use one variation of the addUniqueIndex method in the ERXMigrationTable class to add the unique constraint in the database using migrations. Then you can use the ERXEOControlUtilities.validateUniquenessOf method to check the

Re: Same value with different precision causes database updates

2013-07-17 Thread Henrique Prange
for these fields in your EO template. On Tuesday, July 16, 2013, Henrique Prange wrote: Hi all, Is there a general way to make EOF use the compareTo method for BigDecimals instead of equals? I'm having problems with a property of precision 10. Because of the way the value is formatted, EOF always

Same value with different precision causes database updates

2013-07-16 Thread Henrique Prange
Hi all, Is there a general way to make EOF use the compareTo method for BigDecimals instead of equals? I'm having problems with a property of precision 10. Because of the way the value is formatted, EOF always trigger an update even though the values are the same (and not changed by anyone).

Re: Unexplained WOSessionStore or NSProperties ClassNotFound Exceptions

2013-07-09 Thread Henrique Prange
Hi Filippo, On 09/07/2013, at 11:17, Filippo Laurìa filippo.laur...@gmail.com wrote: 2013/7/3 Chuck Hill ch...@global-village.net: On 2013-07-02, at 2:00 PM, Filippo Laurìa wrote: 2013/7/2 Chuck Hill ch...@global-village.net: The

Re: maven repositories not quite right?

2013-07-04 Thread Henrique Prange
Hi Greg, 2. Not so important, but why doesn't Nexus index all artifacts in the repository? The artifact I want, the wotaskd application, is not indexed but artifacts I don't care about like wowebserverresources.tar.gz are indexed. Oh well. I'll take a look at this problem as soon as we

Re: Broken Javamonitor and wotaskd apps and builds.

2013-07-03 Thread Henrique Prange
Hi Greg, Wonder version of JavaMonitor and wotaskd are built with the skipAppleProvidedFrameworks option active. Which means that the WebObjects jars are not included in the final package. We decided to package Wonder applications this way to avoid overloading our servers space too fast.

Re: maven repositories not quite right?

2013-07-03 Thread Henrique Prange
Hi Greg, On Jul 3, 2013, at 8:43 AM, G Brown gsbr...@umich.edu wrote: Looking at the builds in the maven repository, it seems that all apple jars/classes are not included in the build; but, in the Jenkins builds they are included. There is a switch in the wo life cycle builder plugin that

Re: WOWODC working groups and open labs -

2013-06-21 Thread Henrique Prange
I can help with: - WOUnit - WOInject - Maven (also known as sadomasochism) :) I'd like to talk about: - How to fix or change core WebObjects classes (that can't be fixed through ordinary object oriented constructs) See you at WOWODC. Cheers, Henrique On 17/06/2013, at 02:35, Johann

Re: The infamous WOServletAdaptor is not available error on Tomcat

2013-05-21 Thread Henrique Prange
Hi Filippo, We need more information to help you. Can you host this sample WAR somewhere we can download from? The WOServletAdaptor is not available error can be caused by any error during the application initialization (including NoClassDefFoundErrors, NullPointerExceptions and etc). This

Re: Troubles with com.webobjects.jspservlet

2013-05-13 Thread Henrique Prange
Hi Filippo, Is this the entire stack trace? I usually see the cause of the problem in the end of the stack trace when an error initializing the server adaptor occurs in my applications. Cheers, Henrique Sent from my iPhone On 12/05/2013, at 11:50, Filippo Laurìa filippo.laur...@gmail.com

Re: [ANN] WOUnit 1.2.2

2013-05-08 Thread Henrique Prange
hardcoded to Java 1.5. Can I use Java 1.6? Are there any instructions on how to convert the project to a non-maven project? Or are there any instructions on what I have todo to get wounit to build via maven within Eclipse? Michael On 4/14/2013 4:02 PM, Henrique Prange wrote

Re: [ANN] WOUnit 1.2.2

2013-05-08 Thread Henrique Prange
Hi Samuel, On 03/05/2013, at 12:34, Samuel Pelletier sam...@samkar.com wrote: Hi, I would like to add tests to a WO framework with business logic, wounit seems a good tool but I cannot get it. I tried to import the sources in Eclipse but I only got a bunch of errors. I've removed

Re: EOF related objects present a lot in the heap

2013-04-27 Thread Henrique Prange
rules. Chuck On 2013-04-26, at 10:30 AM, Henrique Prange wrote: Hi Joseph, You can also completely disable the undo registration to save some memory: editingContext.undoManager().disableUndoRegistration(); Of course, editingContext.undo() and editingContext.redo() will not work

Re: EOF related objects present a lot in the heap

2013-04-26 Thread Henrique Prange
Hi Joseph, You can also completely disable the undo registration to save some memory: editingContext.undoManager().disableUndoRegistration(); Of course, editingContext.undo() and editingContext.redo() will not work in this scenario. Cheers, Henrique On 26/04/2013, at 14:12, Chuck Hill

Re: WebObjects 5.4.3 and Java 7

2013-04-16 Thread Henrique Prange
Hi Terry, Same here. We're building and running WO applications with Java 7 for two weeks with no problems. Cheers, Henrique On 16/04/2013, at 10:05, Hugi Thordarson h...@karlmenn.is wrote: For me it just worked without any problems. So no helpful tips here :). Cheers, - hugi On

[ANN] WOUnit 1.2.2

2013-04-14 Thread Henrique Prange
The WOCommunity team is pleased to announce the release of WOUnit 1.2.2. This release includes fixes for bugs reported by the community. The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities. See the WOUnit website for more

Re: _dbupdater

2013-02-28 Thread Henrique Prange
Hi Ron, The migrations framework doesn't provide an entity mapping the _dbupdater table. If you really want to manipulate data on this table using EOF then you have to create a model with this entity mapped in your own application. It's probably easier to use raw SQL depending on your use

Re: Bug with frameworks as jar and bundless build

2013-01-23 Thread Henrique Prange
Hi Alexis, By bundleless build you mean running the application with the NSProjectBundleEnabled property active? I don't think Wonder is capable of handling jar frameworks in this mode yet. Cheers, Henrique On 23/01/2013, at 11:47, Alexis Tual alexis.t...@gmail.com wrote: Hi list, I try

Re: [Maven] Wonder Artifacts

2012-12-15 Thread Henrique Prange
, Henrique On 14/12/2012, at 09:00, Stéphan Mertz sme...@improve.fr wrote: Hello Henrique, Do you plan to update de Repo with new releases ? Or 5.8 snapshot ? Thank you, Stéphan Le 23 nov. 2012 à 20:36, Henrique Prange hpra...@gmail.com a écrit : Hi Stéphan, Sorry

Re: er.extensions.jspservlet.ERXServletAdaptor

2012-12-03 Thread Henrique Prange
Hi Ron, There is no project for the ERServlet library. You can find the source for this class here: https://gist.github.com/1068553 The jar is available in the WOCommunity Repository:

Re: Maven WOCommunity Repository is Temporarily Unavailable

2012-11-23 Thread Henrique Prange
the weekend. Cheers, Henrique On 23/11/2012, at 10:40, Stéphan Mertz sme...@improve.fr wrote: Hi Henrique, The Maven Community Repository seems to be down. Le 23 oct. 2012 à 02:15, Henrique Prange hpra...@gmail.com a écrit : The repository is back up. You may see some download speed

Re: Maven repository down ?

2012-11-23 Thread Henrique Prange
Hi Marc, Sorry for the inconvenience. The service is running now. I did a mistake during the weekend. I've updated Nexus to the latest version and it seems to be broken. As a result, it's killing the Tomcat service periodically. I'll revert Nexus to the previous stable version during the

Re: PostgreSQL, migrations and because it has pending trigger events

2012-10-23 Thread Henrique Prange
Hi Pascal, I've seen this problem in other scenarios too. Adding the following statement at the beginning of the migration solved it: ERXJDBCUtilities.executeUpdate(channel, SET CONSTRAINTS ALL IMMEDIATE;); Cheers, Henrique On 23/10/2012, at 10:13, Pascal Robert prob...@macti.ca wrote:

Maven WOCommunity Repository is Temporarily Unavailable

2012-10-22 Thread Henrique Prange
Hi all, The Maven Community Repository is temporarily unavailable due to the AWS outage. Sorry for the inconvenience. Cheers, Henrique ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

  1   2   3   4   >