Re: new system: all installed, but eogeneration is a no-op

2012-01-24 Thread Mark Gowdy
Joe, While your install is still fresh in your mind, may I ask you a quick question: I just installed a similar set-up, but periodically, my system simply hangs (usually just after I save a java file). I am trying to figure out what is responsible. I have installed: Eclipse 3.7.1 (64-bit)

Re: new system: all installed, but eogeneration is a no-op

2012-01-24 Thread Paul Yu
Mark What if you created a new account and ran Eclipse from that new account. Does Eclipse still hang? -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, January 24, 2012 at 5:16 AM, Mark Gowdy wrote: Joe, While your install is still fresh in your mind,

Permissions for Startup Script

2012-01-24 Thread Gino Pacitti
Hi All I got some great advice on ANT replacement for a permission variable that was in XCode... It was: chmod file=${dest.dir}/${build.app.name}/${build.app.name} perm=ugo+rx/ But I am not an expert in where it would go in the build.xml file... Can anyone point me in the right

Re: Permissions for Startup Script

2012-01-24 Thread Pascal Robert
But why do you need to do that? Execute permissions is already set for the owner and the group. I guess you want to give other execute permissions too? Don't forget that it can be a security risk... Hi All I got some great advice on ANT replacement for a permission variable that was in

Re: Permissions for Startup Script

2012-01-24 Thread Gino Pacitti
Currently builds from eclipse result in the startup script being non executable unless changed to appserver user... I am moving from xcode to eclipse and just wanted a convenience method of not having to keep manually changing the owner to appserver and instead making the startup script

Re: Permissions for Startup Script

2012-01-24 Thread Paul Yu
Gino I would highly recommend setting up a Jenkins build server, even if it is on your development machine to do your production builds. -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, January 24, 2012 at 7:51 AM, Gino Pacitti wrote: Currently builds from

Re: Permissions for Startup Script

2012-01-24 Thread Pascal Robert
Le 2012-01-24 à 07:51, Gino Pacitti a écrit : Currently builds from eclipse result in the startup script being non executable unless changed to appserver user... I am moving from xcode to eclipse and just wanted a convenience method of not having to keep manually changing the owner to

Re: Permissions for Startup Script

2012-01-24 Thread Gino Pacitti
Hi Paul What are the benefits? Gino On 24 Jan 2012, at 13:04, Paul Yu wrote: Gino I would highly recommend setting up a Jenkins build server, even if it is on your development machine to do your production builds. -- Paul Yu Sent with Sparrow On Tuesday, January 24, 2012 at 7:51 AM,

Re: new system: all installed, but eogeneration is a no-op

2012-01-24 Thread Joe Little
well, use Eclipse Classic and Subclipse -- otherwise the same as me. Subclipse I recall is problematic and could be your problem. On Tue, Jan 24, 2012 at 2:16 AM, Mark Gowdy go...@mac.com wrote: Joe, While your install is still fresh in your mind, may I ask you a quick question: I just

Re: Dynamically append CSS class in D2W

2012-01-24 Thread Fabian Peters
Hi list, hi David, I'm open to suggestions, but I don't think ERMDDefaultCSSAssignment currently supports CSS appending. I've played a bit more with this and created my own subclass to override classForAttributeColumn: public String classForAttributeColumn(D2WContext c) { String

ERD2W qualifying restrictingFetchSpecification

2012-01-24 Thread Markus Ruggiero
Can I qualify dynamically a restrictingFetchSpecification? I have the following model: Category one-2-many Group one-2-many Statement For pageConfiguration EditStatement I have displayPropertyKeys = (group.category.name, group.name, and others) group.category.name is displayString, group.name

Re: ERD2W qualifying restrictingFetchSpecification

2012-01-24 Thread Farrukh Ijaz
Hi Markus, I guess you can write a getter to build the groups subset in your Category class and use that getter as display key? Farrukh On 2012-01-24, at 6:50 PM, Markus Ruggiero wrote: Can I qualify dynamically a restrictingFetchSpecification? I have the following model: Category

Re: Permissions for Startup Script

2012-01-24 Thread Daniel Beatty
Greetings Gino, The benefits I have found with Hudson and its little brother Jenkins is one gets a consistent and automated build and installation system. Its integration into the version control repository be it Subversion, Git, or whatever is your pick tends to support a wide variety

Re: Permissions for Startup Script

2012-01-24 Thread Gino Pacitti
Sounds cool... is there more info on the wocommunity site wiki as to implementation etc... Gino On 24 Jan 2012, at 16:02, Daniel Beatty wrote: Greetings Gino, The benefits I have found with Hudson and its little brother Jenkins is one gets a consistent and automated build and installation

Re: Detecting POST vs GET

2012-01-24 Thread Klaus Berkling
On Jan 23, 2012, at 11:13 AM, Kieran Kelleher wrote: Have a look at WORequest API. Looks like some methods there may help you, such as WORequest.method() WORequest.queryString() Looked at .method(). Somehow it didn't register. Thanks all. kib We keep moving forward,

Re: Rule to access security

2012-01-24 Thread Theodore Petrosky
Is there a framework that must be linked in for this to work? As soon as I us it like this: 100 : (pageConfiguration = 'ListPerson' and session.user.security.canEditPerson = 'true') = isEntityEditable = true [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment], or: 100 :

Re: Rule to access security

2012-01-24 Thread Jesse Tayler
Sounds like your d2w file is corrupt? Sent from my iPad On Jan 24, 2012, at 11:24 AM, Theodore Petrosky tedp...@yahoo.com wrote: Is there a framework that must be linked in for this to work? As soon as I us it like this: 100 : (pageConfiguration = 'ListPerson' and

Re: Permissions for Startup Script

2012-01-24 Thread Ramsey Gurley
Dave Avendasora made a great presentation (available on the podcast) that demonstrates how to set up Hudson(Now Jenkins) to build wonder and your own apps. It's titled Practical Builds (WOWODC East 2009). Ramsey On Jan 24, 2012, at 9:05 AM, Gino Pacitti wrote: Sounds cool... is there more

Re: Permissions for Startup Script

2012-01-24 Thread Pascal Robert
Look like I forgot to add a link to this presentation on the Screencasts page, but it's in the RSS feed. Anyway, direct link: http://www.wocommunity.org/podcasts/wowodc/east09/WOWODC09E-MultipleVersionsWO.mov Dave Avendasora made a great presentation (available on the podcast) that

Re: Rule to access security

2012-01-24 Thread Ramsey Gurley
Use the source Luke :-) Or the wiki: http://wiki.wocommunity.org/display/WO/How+to+use+Dynamic+D2W The delayed boolean assignment doesn't work the same as the boolean assignment. Ramsey On Jan 24, 2012, at 9:24 AM, Theodore Petrosky wrote: Is there a framework that must be linked in for

Re: Permissions for Startup Script

2012-01-24 Thread David LeBer
Does anyone have details on migrating from David's original scripts (that use SVN) to using git for Wonder? D -- David LeBer Codeferous Software On 2012-01-24, at 1:06 PM, Pascal Robert wrote: Look like I forgot to add a link to this presentation on the Screencasts page, but it's in the

Re: Permissions for Startup Script

2012-01-24 Thread Pascal Robert
I'm trying to figure that out… I have tried with https://github.com/avendasora/WOJenkins_Job_InstallWOAndWOnder and https://github.com/avendasora/WOJenkins but I'm lost. It look like WOJenkins_Job_InstallWOAndWOnder has to run first, but a step is missing in it (the step

Re: Permissions for Startup Script

2012-01-24 Thread David Holt
Hi David, I believe the newer stuff is on his GitHub account. https://github.com/avendasora David On 2012-01-24, at 10:21 AM, David LeBer wrote: Does anyone have details on migrating from David's original scripts (that use SVN) to using git for Wonder? D -- David LeBer Codeferous

Re: Permissions for Startup Script

2012-01-24 Thread Pascal Robert
FYI, look like you need the Multiple SCM plugin so that you can clone WOJenkins in a subdirectory and have Wonder in another directory. I'm trying to figure that out… I have tried with https://github.com/avendasora/WOJenkins_Job_InstallWOAndWOnder and

Re: Permissions for Startup Script

2012-01-24 Thread Pascal Robert
I got Wonder to build with this config. Note that you will need the Git and Multiple SCM plugins. config.xml Description: XML document Cool tip: you can create a new Jenkins job with curl: curl -v --user youruser:yourpassword -H Content-Type: text/xml -s --data @config.xml

Content Mangement systems - SoloWeb, PWDA

2012-01-24 Thread Emmanuel Tote Dominguez Torres
Good Afternoon list, Is somebody using one of these frameworks? have you found these frameworks useful? how would this help me in managing my app? is there an example out there? Which is your personal approach to this, another framework? D2W? Have a nice day- Emmanuel Dominguez Torres.

Re: Rule to access security

2012-01-24 Thread Theodore Petrosky
based on what I read on the wiki I found that: this works as expected 100 : pageConfiguration = 'ListAdRelease' = isEntityEditable = {conditionKey = session.user.security.canEditAdRelease; falseValue = false; trueValue = true; } [ERDDelayedBooleanAssignment], this does NOT 100 :

Re: Permissions for Startup Script

2012-01-24 Thread David LeBer
Thanks Pascal, So, that's important to note, make sure you have the git plugin (had it) and the Mutiple SCM plugin (didn't have it) installed BEFORE you create the job from that config.xml file (otherwise the git checkout stuff will silently get dropped from the job). My current problem: ...

Re: Rule to access security

2012-01-24 Thread Ramsey Gurley
Hi Ted, I think part of the problem is that you're using delayed assignments for a key that's going to be evaluated on the left hand side of the rule. Try this, I believe this should work: 100 : (entity.name = 'Person' and session.user.security.canEditPerson = 1) = isEntityEditable = true

Tomcat deployment - how do you allocate memory to app

2012-01-24 Thread D Tim Cummings
When I am using JavaMonitor I just put -Xmx256m in additional arguments. How do I set this when I am deploying in Tomcat 6? Thanks Tim smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be

Re: Permissions for Startup Script

2012-01-24 Thread David LeBer
More info, It looks like the installWebObjects.sh and setupWonderWorkspace.sh scripts have ^M's in them. Not sure how that is happening, the Jenkins box is ubuntu and git doesn't have anything set for autocrlf. D -- David LeBer Codeferous Software On 2012-01-24, at 5:52 PM, David LeBer

Re: Permissions for Startup Script

2012-01-24 Thread probert
Strange, it's working fine on CentOS. I will try on a Ubuntu 11 VM that I have. Envoyé de mon iPhone Le 2012-01-24 à 19:35, David LeBer dleber_wo...@codeferous.com a écrit : More info, It looks like the installWebObjects.sh and setupWonderWorkspace.sh scripts have ^M's in them. Not

Re: Permissions for Startup Script

2012-01-24 Thread David LeBer
Weird, Doing a manual git clone of WOJenkins gives me good versions of those two scripts. The git clone from within Jenkins results in the weird line ending problem. D -- David LeBer Codeferous Software On 2012-01-24, at 7:38 PM, prob...@macti.ca wrote: Strange, it's working fine on

D2W Edit page not saving

2012-01-24 Thread Jeff Schmitz
Hope this isn't a double post, but my original posting seems to be in limbo somewhere... Hello board, After watching several of the excellent D2W webcasts, including Dave L's two part intro, as well as reading much of the wiki D2W docs, I thought it time to get my hands dirty with D2W. I

Re: Permissions for Startup Script

2012-01-24 Thread David Avendasora
Hi David, David, Okay, Okay! You have pulled me out of my hiding in darkest Borneo. Yes, I have some completely updated scripts / job configs for building Git-based projects frameworks in my Github repository. The job config repositories assume that you will be using the Git for Wonder, but

Re: Permissions for Startup Script

2012-01-24 Thread David Avendasora
That is strange. What git plugin are you using, is it using a different version of Git than the command-line does? Dave On Jan 25, 2012, at 10:24 AM, David LeBer wrote: Weird, Doing a manual git clone of WOJenkins gives me good versions of those two scripts. The git clone from

Re: Permissions for Startup Script

2012-01-24 Thread David Avendasora
Oh, and I'd love to get some Github pull requests with any improvements. These work for me. I tried to make them general-purpose, but I don't believe that there is any such thing as a standard build process with WO. Everyone has some weird stuff that they do. A lot of the stuff that the jobs

Re: Tomcat deployment - how do you allocate memory to app

2012-01-24 Thread Farrukh Ijaz
Hi Tim, You can specify these options in your Catalina script file. On windows it's catalina.bat and for other platforms it's catalina.sh IIRC. When you deploy your application in J2EE or JavaEE, your application shares the JVM in which the application server is running. If you want to run

Re: Tomcat deployment - how do you allocate memory to app

2012-01-24 Thread D Tim Cummings
Thanks On 25/01/2012, at 3:43 PM, Farrukh Ijaz wrote: Hi Tim, You can specify these options in your Catalina script file. On windows it's catalina.bat and for other platforms it's catalina.sh IIRC. When you deploy your application in J2EE or JavaEE, your application shares the JVM in which