Re: UML view for an EOModel

2011-07-04 Thread Andrew Lindesay

Hi Tobias;

This question may be better asked on the main WebObjects mailing list 
hosted by Apple.  You can, I think, still drop an .eomodeld onto the 
OmniGraffle application;


http://www.omnigroup.com/products/omnigraffle

This will produce a diagram, but hand-tweaking is required to properly 
layout a larger model for comprehension purposes.


I did write an .eomodeld --> GraphViz...

http://www.graphviz.org/

...ant task.  But you can't then tweak the diagram by hand and for a 
larger model the end-result ended up looking spaghetti!  It's OK for 
smaller chunks, but that's not the idea.


So there are no easy answers that I know of without some manual 
intervention!


cheers. 

On 4/07/11 5:36 PM, Tobias Janz wrote:

Hi everyone,

i have a very large EOModel (not designed by myselft) and it is realy
hard to get the relationships between the Entitys.

So i think it would be helpful to understand the Design if i can get an
UML like Diagramm.

Is there a way to get a graphical overview of an EOModel?

I use WO5.4, Eclipse 3.6 with WOLips 3.6 and MacOS 10.6.

Thanks

Tobias Janz



--
Andrew Lindesay
www.silvereye.co.nz
___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Help needed with ERDEditHTML component

2011-07-04 Thread Daniel Mejia
Hi all,

I have a very simple D2W edit form with some fields, some of them are required 
in the model and are correctly validated, the problem happen when I use the 
ERDEditHTMl component for one of those fields that are required. The field is 
never validated and if the user left the field blank the program aborts with 
problems because the field is not null. How can I make to validate the field 
using the ERDEditHTML?

Regards,

Daniel.
  ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


WebObjects in Elastic Beanstalk?

2011-07-04 Thread Tarun Reddy
Has any one tried this?

I'm attempting to get a basic WAR Wonder Application to deploy and all
I get is this error:

Jul 4, 2011 4:56:59 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jul 4, 2011 4:56:59 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Jul 4, 2011 4:56:59 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 4, 2011 4:56:59 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jul 4, 2011 4:56:59 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 533 ms
Jul 4, 2011 4:56:59 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 4, 2011 4:56:59 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Jul 4, 2011 4:56:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jul 4, 2011 4:56:59 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(/usr/share/tomcat6/webapps/ROOT/WEB-INF/lib/javaxml.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.class
Jul 4, 2011 4:57:00 PM org.apache.catalina.startup.TldConfig lifecycleEvent
SEVERE: Error processing TLD files for context path
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld in context
at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:438)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:267)
at 
org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:634)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4611)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:525)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.IllegalArgumentException: Invalid TLD resource
path /WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld
at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:426)
... 26 more
Jul 4, 2011 4:57:02 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet WOServletAdaptor as unavailable
Jul 4, 2011 4:57:02 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet  threw load() exception
javax.servlet.UnavailableException: Error initializing servlet adaptor: null
at 
com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442)
at 
com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
at 
com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
at 
er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:66)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at 
org.apache.catalina.core.StandardWrapper.load(Standa

Re: maven-wolifecycle-plugin version 2.2.1 vs. 2.0.17

2011-07-04 Thread Lars Sonchocky-Helldorf
Hi Henrique,

I did run into this again today, although in another project at another 
company. This time it's a little worse since 2.0.17 causes trouble too. The fix 
using version 2.1 is still valid though.

Historically, the project was using version 2.0.17 of the plug in. With this 
version in place I run into trouble with nonexistent wobuild.properties:


BUILD FAILED
org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not 
find wobuild.properties. Run the buildfile: woproperties.xml first.
at 
org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(WOApplication.java:578)


Then again Chuck said here: 
http://www.mail-archive.com/webobjects-dev@lists.apple.com/msg33664.html that 
wobuild.properties are no longer in use. 



So I thought this might be an artifact of the ancient version of this plugin 
and tried updating to the latest version (2.2.1) of this plugin. Now I run into 
another problem:


[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication
 to 
/Users/lars.sonchocky-helldorf/.m2/repository/jvm/intranet/JvMScheduler/1.0.1-SNAPSHOT/JvMScheduler-1.0.1-SNAPSHOT.woapplication
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error installing artifact: File 
/Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/JvMScheduler-1.0.1-SNAPSHOT.woapplication
 does not exist


in fact there is only a JvMScheduler-1.0.1-SNAPSHOT.woa not a 
JvMScheduler-1.0.1-SNAPSHOT.woapplication in this directory:


lars:JvMAll lars.sonchocky-helldorf$ cd 
/Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target
 
lars:target lars.sonchocky-helldorf$ ls -al
total 57584
drwxrwxr-x  10 lars.sonchocky-helldorf  staff   340  4 Jul 13:48 .
drwxrwxr-x  22 lars.sonchocky-helldorf  staff   748  4 Jul 13:48 ..
drwxrwxr-x   5 lars.sonchocky-helldorf  staff   170  4 Jul 13:48 
JvMScheduler-1.0.1-SNAPSHOT.woa
-rw-rw-r--   1 lars.sonchocky-helldorf  staff  29152747  4 Jul 13:48 
JvMScheduler-1.0.1-SNAPSHOT.woapplication.tar.gz
-rw-rw-r--   1 lars.sonchocky-helldorf  staff312714  4 Jul 13:48 
JvMScheduler-1.0.1-SNAPSHOT.wowebserverresources.tar.gz
drwxrwxr-x   7 lars.sonchocky-helldorf  staff   238  4 Jul 13:48 classes
-rw-rw-r--   1 lars.sonchocky-helldorf  staff   121  4 Jul 13:48 
classpath.properties
-rw-rw-r--   1 lars.sonchocky-helldorf  staff  1751  4 Jul 13:48 
classpath.txt
drwxrwxr-x  18 lars.sonchocky-helldorf  staff   612  4 Jul 13:48 lib
-rw-rw-r--   1 lars.sonchocky-helldorf  staff   124  4 Jul 13:48 
wobuild.properties
lars:target lars.sonchocky-helldorf$ 



Attached are the maven outputs for the project in question for both versions of 
the plug in:

[INFO] 
[INFO] Building Unnamed - jvm.intranet:JvMScheduler:woapplication:1.0.1-SNAPSHOT
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
/Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target
[INFO] [wolifecycle:define-woapplication-resources {execution: 
default-define-woapplication-resources}]
[INFO] Creating output folders
[INFO] Defining WO resources
[INFO] Defining WO properties
[INFO] Defining WO classpath
[INFO] Coping WebServerResources
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/src/main/resources
[INFO] Copying 4 resources to 
../JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/Resources
[INFO] Copying 32 resources to 
../JvMScheduler-1.0.1-SNAPSHOT.woa/Contents/Resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to 
/Volumes/Daten/lars.sonchocky-helldorf/Documents/workspace/JvMAll/Applications/JvMScheduler/target/classes
[INFO] [wolifecycle:woapplication {execution: default-woapplication}]

initTaskDefs:

test-pom:
 [echo] Artifact ID: JvMScheduler
 [echo] Artifact Version: 1.0.1-SNAPSHOT
 [echo] Artifact Final Name: JvMScheduler-1.0.1-SNAPSHOT

woapplicationproperties:

build-woapplication:
[woapplication] Installing JvMScheduler-1.0.1-SNAPSHOT in target

BUILD FAILED
org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not 
find wobuild.properties. Run the buildfile: woproperties.xml first.
at 
org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(WOApplica

Re: UML view for an EOModel

2011-07-04 Thread Baiss Eric Magnusson
Living in Seattle and knowing a few of the Omnigroup people they are aware; I 
think, that there is a group of people who would like to see Omnigraffle be an 
EOModeler type graphical front end.

I would try contacting them directly.

On Jul 4, 2011, at 12:39 AM, Andrew Lindesay wrote:

> Hi Tobias;
> 
> This question may be better asked on the main WebObjects mailing list hosted 
> by Apple.  You can, I think, still drop an .eomodeld onto the OmniGraffle 
> application;
> 
>   http://www.omnigroup.com/products/omnigraffle
> 
> This will produce a diagram, but hand-tweaking is required to properly layout 
> a larger model for comprehension purposes.
> 
> ...
> cheers.   
> 
> On 4/07/11 5:36 PM, Tobias Janz wrote:
>> Hi everyone,
>> 
>> i have a very large EOModel (not designed by myselft) and it is realy
>> hard to get the relationships between the Entitys.
>> 
>> So i think it would be helpful to understand the Design if i can get an
>> UML like Diagramm.
>> 
>> Is there a way to get a graphical overview of an EOModel?
>> 
>> I use WO5.4, Eclipse 3.6 with WOLips 3.6 and MacOS 10.6.
>> 
>> Thanks
>> 
>> Tobias Janz
> -- 
> Andrew Lindesay
> www.silvereye.co.nz


Baiss Eric Magnusson
CascadeWebDesign.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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