Re: EOQualifier proper fetch across to-many?

2012-03-08 Thread Stefan Klein

  
  
If you are lazy like me, you can use the following to create a list
of all needed indexes.
The generated code is for MaxDB: 

 private void _printCreateIndexForModel(String modelName)
 {
  EOModel model =
EOModelGroup.globalModelGroup().modelNamed(modelName);
  NSMutableArrayString indexes = new
NSMutableArrayString();
  NSMutableDictionaryString, Integer namesDict = new
NSMutableDictionaryString, Integer();
  NSMutableDictionaryString, Boolean namesDoneDict =
new NSMutableDictionaryString, Boolean();

  for (int i = 0; i  model.entities().count(); i++)
  {
   EOEntity sourceEntity =
model.entities().objectAtIndex(i);
   if (!sourceEntity.isAbstractEntity())
   {
for (int j = 0; j 
sourceEntity.relationships().count(); j++)
{
 EORelationship relationship =
sourceEntity.relationships().objectAtIndex(j);
 EOEntity destEntity =
relationship.destinationEntity();

 String destTableName =
destEntity.name().toUpperCase();
 // Shorten the index name
 if (destTableName.length()  25)
 {
  destTableName = destTableName.substring(0,
25);
 }
 NSArrayEOAttribute destAttributes =
relationship.destinationAttributes();
 if (destAttributes.count() == 1 
destEntity.primaryKeyAttributes().contains(destAttributes.get(0)))
 {
  // PKs should have an index
  continue;
 }
 
 NSMutableArrayString relKeys = new
NSMutableArrayString();
 for (int k = 0; k  destAttributes.count();
k++)
 {
  EOAttribute attribute =
destAttributes.objectAtIndex(k);
  relKeys.add(attribute.columnName());
 }
 String keys =
relKeys.componentsJoinedByString(", ");
 if (namesDoneDict.get(destTableName + "!" +
keys) != null)
 {
  namesDoneDict.setObjectForKey(Boolean.TRUE,
destTableName + "!" + keys);
 }

 // Make the index name unique
 int indexCount = (namesDict.get(destTableName)
!= null) ? namesDict.get(destTableName).intValue() + 1 : 1;
 namesDict.setObjectForKey(indexCount,
destTableName);

 String indexName = "I_" + destTableName + "_" +
indexCount;
 indexes.add("CREATE INDEX " +
indexName.replace('.', '_') + " ON " + destTableName + " (" + keys +
")");
}
   }
  }
  NSArrayStringsortedIndexes =
OrderGermanString.sortStringArray(indexes);
 
NSLog.debug.appendln(sortedIndexes.componentsJoinedByString("\n//\n")
+ "\n//\ncommit\n//\n");
 }

Stefan

Am 06.03.12 21:10, schrieb Kieran Kelleher:

  If it was me with this task, I would create a simple Excel sheet with 3 columns, generate the SQL with a fill down formula for the simple single columns indexes. Paste all the formulas in a text file and just execute it. However, as Lachlan suggested, do it on a developer copy of the real db first to make sure that you understand how long the process will take.

Example excel file attached


  
  
  
  

On Mar 6, 2012, at 1:42 PM, Jesse Tayler wrote:


  
oh!

just so as I can see things more easily eh?

whew.

I'm concerned that if we are unable to make decent indexes automatically, I'll do a terrible job at it by hand!

I'd go in and basically setup indexes where I see foreign keys, my database isn't fancy, but what else can or should I look to do or avoid while cleaning this up on my model?

I have maybe 20 entities and likely 50 relationships I'm sure.



On Mar 6, 2012, at 1:34 PM, David LeBer dleber_wo...@codeferous.com wrote:



  Jesse,

I don't think anyone said anything about dumping your data.

Kieran said dump your 'schema' not data.

--
David LeBer
Codeferous Software

On 2012-03-06, at 12:57 PM, Jesse Tayler wrote:


  
why would I have to dump my data just to create the indexes?

should I not be able to create indexes on the fly on mysql?

and yes, this is my first mysql setup and no, I did NOT realize fully that I had to create indexes - some have been, other not, it seems...

anyone have a nice - simple WO-person's explanation of indexing strategy? especially needs for things like a data dump/restore or these attributed correlations spanning multiple entities and supporting/troubleshooting queries?



On Mar 6, 2012, at 12:00 PM, Theodore Petrosky tedp...@yahoo.com wrote:



  This conversation has piqued my interest.
I just looked at my postgresql database to see what indexes are created in a 'normal' migration and I was happy to see that the foreign key did get an index:

Indexes:
"person_pk" PRIMARY KEY, btree (id)
"person_erattachmentid_idx" btree (erattachmentid)
Foreign-key constraints:
"person_erattachmentid_id_fk" FOREIGN KEY (erattachmentid) 

Re: I need help, and I have paypal cash available.

2012-03-08 Thread Ron X
Give a screenshot of your problem with Jenkins.

2012/3/6 James Cicenia ja...@jimijon.com

 I am tired, confused, and i need to figure out how to get my code working
 properly on the test server.

 I am sure one of you deployment/Jenkins gurus could probably figure this
 out in 15 mins. I have
 spent 16 hours and am more confused then ever.

 Pascal? Davids? Anyones?

  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/ron.x.by.su%40gmail.com

 This email sent to ron.x.by...@gmail.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/archive%40mail-archive.com

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


Re: Ok, I got Jenkins to build… now what?

2012-03-08 Thread Pascal Robert

Le 2012-03-06 à 09:30, James Cicenia a écrit :

 Hello -
 
 I got jenkins to build. Now what do I do?
 
 Do I reconfigure Eclipse Wolips properties to point to it?

What do you mean to reconfigure WOLips properties to use Jenkins? So that you 
want to use the frameworks build by Jenkins for development?

 IF so, can someone send me a sample screen shot of theirs?
 
 Next. I need the latest Prototype builds for my AJAX to work on IE.
 How do I configure Jenkins or whatever to test, build and deploy with that 
 branch?

Just change the branch to build from master to integration.

 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/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/archive%40mail-archive.com

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

Re: WOJenkins Updates

2012-03-08 Thread Pascal Robert

Le 2012-03-06 à 02:58, James Cicenia a écrit :

 OK:
 
 Building in workspace 
 /Users/Shared/Jenkins/Home/jobs/Install_WebObjects_And_Wonder/workspace
 [workspace] $ /bin/sh -xe 
 /var/folders/zz/zyxvpxvq6csfxvn_n00401/T/hudson6886741672062496060.sh
 + 
 /Users/Shared/Jenkins/Home/jobs/Install_WebObjects_And_Wonder/workspace/WOJenkins/Install/WebObjects/installWebObjects.sh
 /var/folders/zz/zyxvpxvq6csfxvn_n00401/T/hudson6886741672062496060.sh:
  line 2: 
 /Users/Shared/Jenkins/Home/jobs/Install_WebObjects_And_Wonder/workspace/WOJenkins/Install/WebObjects/installWebObjects.sh:
  No such file or directory
 Build step 'Execute shell' marked build as failure
 Finished: FAILURE
 
 
 Screen Shot 2012-03-06 at 1.52.58 AM.png
 
 Where is the parameter ${WORKSPACE} set ?

${WORKSPACE} is set by Jenkins itself.

 
 James 
 
 On Mar 5, 2012, at 11:10 PM, David Avendasora wrote:
 
 Ah,
 
 
 
 On Mar 6, 2012, at 11:25 AM, James Cicenia wrote:
 
 I am trying...
 
 Step 2 on the wiki to git the configurations gives a permission 
 problem... might want to add sudo first.
 
 Good catch! I had changed my permissions on that directory a while ago and 
 forgotten that I had done that. I'll change the instructions. Thanks for 
 catching it!
 
 Step 5... FAILED
 
 Screen Shot 2012-03-05 at 9.24.09 PM.png
 
 Those are jobs that you'd want to run _after_ this job succeeds. The ones 
 that are there were placeholders that I forgot to remove after doing my 
 testing.
 
 Your build is succeeding if it's trying to call those, but then the job 
 itself fails because it can't find any jobs with those names. Just clear the 
 field out, or change them to job names that you would want to run if this 
 one succeeds.
 
 Dave
 
 
 
 
 Is this stopping it? 
 
 James
 
 
 
 On Mar 5, 2012, at 6:31 PM, David Avendasora wrote:
 
 Hey all,
 
 I've committed some WOJenkins Shell Script and Job Configuration updates 
 to my Github repository: https://github.com/avendasora
 
 Basic rundown of the changes:
 
 1) Added a new WOProject_AllInOne_Git Jenkins job configuration that will 
 build both an Application and one or more Frameworks that the app depends 
 on.
https://github.com/avendasora/WOJenkins_Job_WOProject_AllInOne_Git
 2) Cleaned up the WOJenkins_Job_WOProject_Git and 
 WOJenkins_Job_WOProject_SVN Jenkins job configurations
https://github.com/avendasora/WOJenkins_Job_WOProject_Git
https://github.com/avendasora/WOJenkins_Job_WOProject_SVN
 3) Unified the various setupWonderProjectWorkspace.sh scripts so now one 
 script works for both Git and SVN builds, and all-in-one builds of as well
https://github.com/avendasora/WOJenkins
 4) Updated the setupWonderWorkspace.sh script to install the .jar versions 
 of Wonder in the correct location
https://github.com/avendasora/WOJenkins
 5) Updated the WOJenkins_Job_InstallWOAndWOnder job configuration
https://github.com/avendasora/WOJenkins_Job_InstallWOAndWOnder
 6) Updated the Wiki with new, more complete, easy-to-follow instructions 
 on how to use WOJenkins.

 http://wiki.wocommunity.org/display/WO/Using+Jenkins+Build+Server+with+WebObjects+Projects
 
 I would love if one or two of you that are thinking of trying out Jenkins 
 would take a stab at following the instructions on the Wiki and letting me 
 know here if you have any issues or questions.
 
 Once everything seems to be working well, I'm planning on transferring 
 ownership of WOJenkins to WOCommunity (I'm a committer, so I'll still be 
 involved, it just belongs with WOCommunity and not just me).
 
 Dave
 ___
 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/james%40jimijon.com
 
 This email sent to ja...@jimijon.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/archive%40mail-archive.com

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

integration branch in Wonder

2012-03-08 Thread Pascal Robert
Hi everyone,

As you probably know, 3 weeks ago we added a integration branch in Wonder. 
This branch was created so that we can add contributions from the community 
while not messing with the master branch. We still make sure that 
integration is working fine, so integration breaks in Jenkins 
(http://jenkins.wocommunity.org/job/WonderIntegration/) breaks, I try to fix it 
in the minutes after I see that the build is broke.

So, if you want to get the latest and greatest from Wonder, you should use the 
integration branch. Builds are available from Jenkins 
(http://jenkins.wocommunity.org/job/WonderIntegration/) and if you prefer to 
build from the source yourself, build it from the new branch. We make sure that 
everything is working fine, but we can't find out all problems without YOUR 
help. So use the builds from integration and if you find any issues from 
integration that are not in master, please report them on GitHub.

If you have a fork of Wonder and you want to make contributions back, I 
strongly suggest that you use the integration branch so that you can test 
your contributions with the other contributions. 

Now, we will need to move the new stuff from integration to master someday. I'm 
thinking of cherry picking specific commits from integration to move them in 
master so that we can move stable commits or move commits per kind (moving 
all D2W contributions at the same time, etc.). We will also tag releases in 
master, so that master finally have real release tags.

Lastly, if you want to know when new stuff is added to integration, you 
should either follow @WOComNotifs on Twitter (see 
http://twitter.com/#!/WOComNotifs) or subscribe to the wonder-commits mailing 
list (send an blank email to wonder-commits...@wocommunity.org to get on the 
list).

Thanks.


 ___
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


Please ignore - testing to see if the list is alive

2012-03-08 Thread Kieran Kelleher
Please ignore - testing to see if the list is alive
 ___
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


Re: Ok, I got Jenkins to build… now what?

2012-03-08 Thread Johann Werner
Hi James,

Am 06.03.2012 um 15:30 schrieb James Cicenia:

 Hello -
 
 I got jenkins to build. Now what do I do?

what do you want to do?

 
 Do I reconfigure Eclipse Wolips properties to point to it?

to achieve what?

 IF so, can someone send me a sample screen shot of theirs?
 
 Next. I need the latest Prototype builds for my AJAX to work on IE.

use the integration branch of Wonder, it has prototype v1.7

 How do I configure Jenkins or whatever to test, build and deploy with that 
 branch?

are you building Wonder on your Jenkins server yourself? do you use the 
archived artifacts from 
http://jenkins.wocommunity.org/job/WonderIntegration/lastSuccessfulBuild/artifact/Root/Roots/
 ?

 
 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


jenkins job running now at 3+ hours?

2012-03-08 Thread James Cicenia
Is that normal? Are the spaces in the job name messing it up?


Started by user anonymous
Building in workspace /Users/Shared/Jenkins/Home/jobs/PI2 The Refresh/workspace
Checkout:workspace / /Users/Shared/Jenkins/Home/jobs/PI2 The Refresh/workspace 
- hudson.remoting.LocalChannel@d977d63
Using strategy: Default
Checkout:workspace / /Users/Shared/Jenkins/Home/jobs/PI2 The Refresh/workspace 
- hudson.remoting.LocalChannel@d977d63
Cloning the remote Git repository
Cloning repository origin


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


Re: I need help, and I have paypal cash available.

2012-03-08 Thread Paul Hoadley
Hi James,

On 07/03/2012, at 2:54 PM, James Cicenia wrote:

 Early this morning I got the job to build and it duly put all the 
 frameworks,both wonder and webobjects in its Jenkins directory. And this is 
 where I lose all sense of what I am supposed to do.

I'm not sure that you actually got the project to build given the following:

 I have a project that works perfectly on my dev machine via Eclipse/Wolips. 
 This project is not under source control because my client still hasn't setup 
 git on teamforge for me. 
 I wrote them with urgency to get me git. I think this might be the problem.

If your project is not under source control, I'm not sure how Jenkins is going 
to (a) know when it needs to build it (though conceivably you could just 
trigger it manually), or (b) retrieve it to do the build (though conceivably 
you could... point the job's build file at your development source code).

 What do I do with Jenkins?

Yeah, good question.  Let's step back.  Conventionally you would have Jenkins 
running continuously in the background waiting for some trigger (like a commit 
to a repository), at which point it updates its own working copy of your code, 
pulls in or updates any dependencies you've declared it needs, and then builds 
your projects, leaving some artefacts somewhere you've specified.  As I 
mentioned earlier, it really should be at arm's length from development.  Not 
having your work under source control is going to be fairly limiting, and I 
doubt Dave Avendasora's wiki instructions or associated scripts allow for this. 
 (I haven't looked at them closely—we have our own scripts that pre-date that 
work.)

 This all works.

I'm not sure that it does.  :-)  Are you telling me that you've got 
Foo-Application.tar.gz and Foo-WebServerResources.tar.gz build products being 
created, you're deploying them in the usual way, and it works?  Because short 
of that, it's not working.

 But now what? What triggers Jenkins?

As above, the conventional trigger would be a commit to a source control 
repository (whether via a post-commit hook, or Jenkins polling the repo).  Or 
you could click on the Build Now icon.

 How does it know anything about eclipse?

It doesn't.  They're not connected.  Continuous integration should be 
proceeding in parallel to development.

 Can I set up a job to not use a SCM temporarily?

Potentially, though I've never done this.  My advice would be to put Jenkins on 
hold until you can get your project into source control, and then proceed using 
Jenkins in the conventional way.


-- 
Paul.

http://logicsquad.net/



 ___
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

Re: I need help, and I have paypal cash available.

2012-03-08 Thread David Avendasora

On Mar 7, 2012, at 12:24 PM, James Cicenia wrote:

 I am on a mini deadline to show progress so far. Unfortunately, ever since I 
 got wonder source, I have been stopped at every turn pushing to the server.
 
 So... I decided to go the Jenkins route as it seems like a good thing and 
 with a half dozen projects now with various dependencies I thought it would 
 be perfect.
 Plus all the cool kids are using it. 
 
 Early this morning I got the job to build and it duly put all the 
 frameworks,both wonder and webobjects in its Jenkins directory. And this is 
 where I lose all sense of what I am supposed to do.

Okay, it sounds like you've got the InstallWOAndWOnder job up and running, but 
I'm sure it's still set to clone the Project Wonder wonder repository, and not 
your modifications.

 I have a project that works perfectly on my dev machine via Eclipse/Wolips. 
 This project is not under source control because my client still hasn't setup 
 git on teamforge for me. 

You can create a Git repository right on your own computer, then once they get 
Git setup on a server somewhere for you, you can just create a new remote and 
push the repository up. If you don't have SourceTree yet, go get it (it's 
free) from the App Store 
(http://itunes.apple.com/us/app/sourcetree-git-hg/id411678673?mt=12) and it 
gives you a nice, simple UI to 90% of what you need to do with Git.

 I wrote them with urgency to get me git. I think this might be the problem.
 
 Anyway, this project needs the latest Ajax/Protaculous builds for drag and 
 drop etc. So that is my first issue. What do I do with Jenkins? I imported 
 these frameworks from my original git pull of wonder into Eclipse.
 
 This all works. But now what?

It sounds like you haven't created a job to actually build *your* App. 

 What triggers Jenkins?

Normally, you'd set up the job to watch your SCM for changes and build whenever 
it sees new code.

 How does it know anything about eclipse?

It _doesn't_. They are two COMPLETELY different things. They both work with 
your source code but Jenkins knows nothing of Eclipse/WOLips and Eclipse/WOLips 
knows nothing about Jenkins! NOTHING!

 Can I set up a job to not use a SCM temporarily? Of course I am learning git 
 at the same time.

Yes. You won't get a lot of the automated coolness, but it will build just 
fine. But FIRST you need a job to build your App.

1) Start here: 
http://wiki.wocommunity.org/display/WO/Single-Project+Jobs+using+WOJenkins, 
2) Modify the job configuration and remove the first SCM task (the one that 
would normally checkout your code from your repository)
3) Run the job once, it will fail, but it will setup some directories you need
4) Copy your Eclipse project directory into the Jenkins job's 
workspace/Projects directory (probably 
/Users/Shared/Jenkins/Home/jobs/YourJob/workspace/Projects)
5) Change the ownership of the directory you just copied in and all it's 
contents with: sudo chown -R daemon:daemon 
/Users/Shared/Jenkins/Home/jobs/YourJob/workspace/Projects/MyProject
5) Run the job again. 

This should normally work…

 So
 
 I have a project PI and I am have a ERModern frameworks imported into Eclipse 
 as I need to modify them a bit.
 Screen Shot 2012-03-06 at 10.17.40 PM.png
 The three frameworks came from the original wonder git pull. Then I stupidly 
 started messing around with the wolips.properties and PI now can't seem to 
 see all the other frameworks.

No problem, just reset back to the previous commit that was work… oh wait. Umm, 
yeah. No SCM. Sorry.

 This is really where my confusion reigns. Wolips.properties is obviously 
 still relevant. So do I point those to Jenkins?

Uhg. Oh.. just wow. I don't know where to start. There's so many places that 
you probably have gone _way_ wrong with what you're describing, and you've left 
out all the details.

Eclipse/WOLips and therefor the wolips.properties file should know NOTHING of 
Jenkins. Normally you wouldn't have them on the same machine.

If you want Jenkins to build your modified version of the WOnder source code, 
you'll have to somehow give that modified source code to Jenkins to build. You 
could modify the InstallWOAndWOnder job similar to how I outlined above by 
1) Remoe the SCM task that clones Wonder and then 
2) Copy the changes you made to Wonder into 
/Users/Shared/Jenkins/Home/jobs/InstallWOAndWonder/workspace/Wonder/
3) sudo chown -R daemon:daemon 
/Users/Shared/Jenkins/Home/jobs/InstallWOAndWOnder/workspace/
4) Run the job again

That should build _your_ version of WOnder into the WOFrameworksRepository so 
that when Jenkins builds YourApp, it will use those modified versions of the 
frameworks.

Good luck James!

I'm living in Borneo right now and it's GMT +8, so I'm sending this off at 6:30 
pm and finishing up for the day.

If you still can't get this working, contact me off list and we'll figure 
something out.

Dave



 ___
Do not post admin requests to 

New locations for community resources

2012-03-08 Thread Pascal Robert
Good morning everyone,

All community resources are now on wocommunity.org

WOLips 3.7 stable:

  http://wocommunity.org/wolips/3.7/stable

WOLips 3.7 latest:

  http://wocommunity.org/wolips/3.7/current

Wonder builds:

  http://jenkins.wocommunity.org/view/Wonder/

Wonder JavaDoc:

  Wonder stable (master branch):  
http://wocommunity.org/documents/javadoc/wonder/stable
  Wonder latest (integration branch):  
http://wocommunity.org/documents/javadoc/wonder/latest
  Wonder legacy (for 5.3):  
http://wocommunity.org/documents/javadoc/wonder/legacy

WebObjects JavaDoc:

  http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
  http://wocommunity.org/documents/javadoc/WebObjects/5.3/

JProlifer 6 plugin:

  http://wocommunity.org/documents/tools/jprofiler6/

Jadclipse:

  http://wocommunity.org/documents/tools/jadclipse/

RuleModeler/eomodeldoc.jar/WOInstaller.jar

  http://wocommunity.org/documents/tools/

Apache adaptors:

  http://wocommunity.org/documents/tools/mod_WebObjects/

If you have links to the resources in other locations, please change your links 
so that Google picks up the changes. If you see anything missing from the list, 
please say so.

Thanks.


 ___
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


Re: New locations for community resources

2012-03-08 Thread Henrique Prange
Hi Pascal,

Thanks for consolidating these resources in one place.

On 08/03/2012, at 09:00, Pascal Robert wrote:

 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 

I don't see the Dynamic Elements documentation in the list. It's basic but 
useful resource.

https://developer.apple.com/legacy/mac/library/#documentation/WebObjects/Reference/DynamicElements/Introduction/Introduction.html

Cheers,

Henrique
 ___
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


Re: New locations for community resources

2012-03-08 Thread Pascal Robert

Le 2012-03-08 à 09:57, Henrique Prange a écrit :

 Hi Pascal,
 
 Thanks for consolidating these resources in one place.
 
 On 08/03/2012, at 09:00, Pascal Robert wrote:
 
 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 
 
 I don't see the Dynamic Elements documentation in the list. It's basic but 
 useful resource.
 
 https://developer.apple.com/legacy/mac/library/#documentation/WebObjects/Reference/DynamicElements/Introduction/Introduction.html

That one is in the wiki:

  http://wiki.wocommunity.org/display/WO/Dynamic+Elements


 ___
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

Re: New locations for community resources

2012-03-08 Thread Henrique Prange
Hi Pascal,

Thank you. I'll update my references here.

Cheers,

Henrique

On 08/03/2012, at 11:58, Pascal Robert wrote:

 
 Le 2012-03-08 à 09:57, Henrique Prange a écrit :
 
 Hi Pascal,
 
 Thanks for consolidating these resources in one place.
 
 On 08/03/2012, at 09:00, Pascal Robert wrote:
 
 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 
 
 I don't see the Dynamic Elements documentation in the list. It's basic but 
 useful resource.
 
 https://developer.apple.com/legacy/mac/library/#documentation/WebObjects/Reference/DynamicElements/Introduction/Introduction.html
 
 That one is in the wiki:
 
  http://wiki.wocommunity.org/display/WO/Dynamic+Elements
 


 ___
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

Comments on Community Roadmap

2012-03-08 Thread Pascal Robert
Hello everyone,

As you know, I have built a list for a Community Roadmap based on comments 
made in the surveys and in the working group mailing list. As you can see, the 
list is quite long and I don't think everything on the list can be done in a 
year.

So we need to establish priorities and see if we have people who can work on 
the priorities. Also, some of the comments in the surveys were a bit short, so 
we need more meat on some of the suggestions.

It would be really useful if you can review the Roadmap (and the pending issues 
on GitHub for Wonder and WOLips) and adds any comments you have in it. In two 
weeks, I will take the final list on Survs so that everyone can vote and build 
a list of the highest priorities.

The Roadmap + the issues:

  http://wiki.wocommunity.org/display/WOCOM/Community+Roadmap

  https://github.com/projectwonder/wonder/issues

  https://github.com/wolips/wolips

Thanks for your help!


 ___
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


Re: New locations for community resources

2012-03-08 Thread Gaastra Dennis - WO Lists

Hi Pascal,

Thanks for doing this. Does this mean we should switch from mdimension?

Also wondering if we could add a deployment section, with Ken's, 
Simon's, and my stuff on taming the big Lion Server Beast with SSDs. 
Maybe with the Apache adapter section.


With kind Regards,

Dennis.

On 08/Mar/12 4:00 AM, Pascal Robert wrote:

Good morning everyone,

All community resources are now on wocommunity.org

WOLips 3.7 stable:

   http://wocommunity.org/wolips/3.7/stable

WOLips 3.7 latest:

   http://wocommunity.org/wolips/3.7/current

Wonder builds:

   http://jenkins.wocommunity.org/view/Wonder/

Wonder JavaDoc:

   Wonder stable (master branch):  
http://wocommunity.org/documents/javadoc/wonder/stable
   Wonder latest (integration branch):  
http://wocommunity.org/documents/javadoc/wonder/latest
   Wonder legacy (for 5.3):  
http://wocommunity.org/documents/javadoc/wonder/legacy

WebObjects JavaDoc:

   http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
   http://wocommunity.org/documents/javadoc/WebObjects/5.3/

JProlifer 6 plugin:

   http://wocommunity.org/documents/tools/jprofiler6/

Jadclipse:

   http://wocommunity.org/documents/tools/jadclipse/

RuleModeler/eomodeldoc.jar/WOInstaller.jar

   http://wocommunity.org/documents/tools/

Apache adaptors:

   http://wocommunity.org/documents/tools/mod_WebObjects/

If you have links to the resources in other locations, please change your links 
so that Google picks up the changes. If you see anything missing from the list, 
please say so.

Thanks.


  ___
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/webobjects_lists%40webappz.com

This email sent to webobjects_li...@webappz.com




--
With Kind Regards,

Dennis Gaastra,
WEBAPPZ®  Systems, Inc.
(+1) 604.921.1333
www.webappz.com  www.scheduleDS.com  www.1tracker.com





This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version. WEBAPPZ Systems, Inc., 726 - 1489 
Marine Drive, West Vancouver, BC, CANADA V7T 1B8, www.webappz.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/archive%40mail-archive.com

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

Re: New locations for community resources

2012-03-08 Thread Pascal Robert

Le 2012-03-08 à 12:52, Gaastra Dennis - WO Lists a écrit :

 Hi Pascal,
 
 Thanks for doing this. Does this mean we should switch from dimension?

Yes.

 Also wondering if we could add a deployment section, with Ken's, Simon's, and 
 my stuff on taming the big Lion Server Beast with SSDs. Maybe with the Apache 
 adapter section.

That should go into the wiki.

 With kind Regards,
 
 Dennis.
 
 On 08/Mar/12 4:00 AM, Pascal Robert wrote:
 Good morning everyone,
 
 All community resources are now on wocommunity.org
 
 WOLips 3.7 stable:
 
   http://wocommunity.org/wolips/3.7/stable
 
 WOLips 3.7 latest:
 
   http://wocommunity.org/wolips/3.7/current
 
 Wonder builds:
 
   http://jenkins.wocommunity.org/view/Wonder/
 
 Wonder JavaDoc:
 
   Wonder stable (master branch):  
 http://wocommunity.org/documents/javadoc/wonder/stable
   Wonder latest (integration branch):  
 http://wocommunity.org/documents/javadoc/wonder/latest
   Wonder legacy (for 5.3):  
 http://wocommunity.org/documents/javadoc/wonder/legacy
 
 WebObjects JavaDoc:
 
   http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
   http://wocommunity.org/documents/javadoc/WebObjects/5.3/
 
 JProlifer 6 plugin:
 
   http://wocommunity.org/documents/tools/jprofiler6/
 
 Jadclipse:
 
   http://wocommunity.org/documents/tools/jadclipse/
 
 RuleModeler/eomodeldoc.jar/WOInstaller.jar
 
   http://wocommunity.org/documents/tools/
 
 Apache adaptors:
 
   http://wocommunity.org/documents/tools/mod_WebObjects/
 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 
 Thanks.
 
 
  ___
 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/webobjects_lists%40webappz.com
 
 This email sent to webobjects_li...@webappz.com
 
 
 
 -- 
 With Kind Regards,
 
 Dennis Gaastra,
 WEBAPPZ®  Systems, Inc.
 (+1) 604.921.1333
 www.webappz.com  www.scheduleDS.com  www.1tracker.com
 
 
 
 
 
 This message contains confidential information and is intended only for the 
 individual named. If you are not the named addressee you should not 
 disseminate, distribute or copy this e-mail. Please notify the sender 
 immediately by e-mail if you have received this e-mail by mistake and delete 
 this e-mail from your system. E-mail transmission cannot be guaranteed to be 
 secure or error-free as information could be intercepted, corrupted, lost, 
 destroyed, arrive late or incomplete, or contain viruses. The sender 
 therefore does not accept liability for any errors or omissions in the 
 contents of this message, which arise as a result of e-mail transmission. If 
 verification is required please request a hard-copy version. WEBAPPZ Systems, 
 Inc., 726 - 1489 Marine Drive, West Vancouver, BC, CANADA V7T 1B8, 
 www.webappz.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/archive%40mail-archive.com

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

Jenkins and Framework build path dependency

2012-03-08 Thread Daniel Roy
Hi,

I've setup Jenkins in test to start building our frameworks and applications.  
WOJenkins is excellent - thank you so much for providing this David Avendasora 
(and anyone else who may have helped)!

We build our own ERPrototypes because we have some custom types we need to use. 
 Our frameworks use this ERPrototypes framework instead of the vanilla Wonder 
ERPrototypes.  We reference our ERPrototypes framework as a Project dependency 
in the build path instead of a Library (framework) dependency.  This works fine 
in Eclipse because Eclipse can magically account for the linked project and 
include the linked project's files in the build process.  However, Jenkins 
can't resolve the dependency.  

Using the scripts provided in WOJenkins, the build process never pulls in the 
required framework because the .classpath entry in the affected Eclipe project 
is as follows:

classpathentry combineaccessrules=false exported=true kind=src 
path=/ERPrototypes/

I've tried modifying the WOJenkins setup script to unpack the ERPrototypes 
framework into the correct location of the affected project, but that doesn't 
make any difference during build time because ant doesn't know about the 
dependency.

Does anyone have any ideas how the build can be accomplished?  I could modify 
the .classpath file of the affected project after it's pulled down from SVN and 
change the ERPrototypes line to be the standard WOFramework/ERPrototypes, 
since our ERPrototype is build before all other frameworks in the Jenkins build 
process.  Or, is there possibly another way?

Thanks,
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: New locations for community resources

2012-03-08 Thread David Holt
Is this information in the wiki somewhere?

If not, I'm happy to add a page.

David

On 2012-03-08, at 4:00 AM, Pascal Robert wrote:

 Good morning everyone,
 
 All community resources are now on wocommunity.org
 
 WOLips 3.7 stable:
 
  http://wocommunity.org/wolips/3.7/stable
 
 WOLips 3.7 latest:
 
  http://wocommunity.org/wolips/3.7/current
 
 Wonder builds:
 
  http://jenkins.wocommunity.org/view/Wonder/
 
 Wonder JavaDoc:
 
  Wonder stable (master branch):  
 http://wocommunity.org/documents/javadoc/wonder/stable
  Wonder latest (integration branch):  
 http://wocommunity.org/documents/javadoc/wonder/latest
  Wonder legacy (for 5.3):  
 http://wocommunity.org/documents/javadoc/wonder/legacy
 
 WebObjects JavaDoc:
 
  http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
  http://wocommunity.org/documents/javadoc/WebObjects/5.3/
 
 JProlifer 6 plugin:
 
  http://wocommunity.org/documents/tools/jprofiler6/
 
 Jadclipse:
 
  http://wocommunity.org/documents/tools/jadclipse/
 
 RuleModeler/eomodeldoc.jar/WOInstaller.jar
 
  http://wocommunity.org/documents/tools/
 
 Apache adaptors:
 
  http://wocommunity.org/documents/tools/mod_WebObjects/
 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 
 Thanks.
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/archive%40mail-archive.com

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


Re: New locations for community resources

2012-03-08 Thread Pascal Robert
I added a blog post about it in the wiki:

  
http://wiki.wocommunity.org/display/WOCOM/2012/03/08/New+locations+for+community+resources

  
http://wiki.wocommunity.org/display/WOCOM/2012/03/08/Integration+branch+in+Project+Wonder

 Is this information in the wiki somewhere?
 
 If not, I'm happy to add a page.
 
 David
 
 On 2012-03-08, at 4:00 AM, Pascal Robert wrote:
 
 Good morning everyone,
 
 All community resources are now on wocommunity.org
 
 WOLips 3.7 stable:
 
 http://wocommunity.org/wolips/3.7/stable
 
 WOLips 3.7 latest:
 
 http://wocommunity.org/wolips/3.7/current
 
 Wonder builds:
 
 http://jenkins.wocommunity.org/view/Wonder/
 
 Wonder JavaDoc:
 
 Wonder stable (master branch):  
 http://wocommunity.org/documents/javadoc/wonder/stable
 Wonder latest (integration branch):  
 http://wocommunity.org/documents/javadoc/wonder/latest
 Wonder legacy (for 5.3):  
 http://wocommunity.org/documents/javadoc/wonder/legacy
 
 WebObjects JavaDoc:
 
 http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
 http://wocommunity.org/documents/javadoc/WebObjects/5.3/
 
 JProlifer 6 plugin:
 
 http://wocommunity.org/documents/tools/jprofiler6/
 
 Jadclipse:
 
 http://wocommunity.org/documents/tools/jadclipse/
 
 RuleModeler/eomodeldoc.jar/WOInstaller.jar
 
 http://wocommunity.org/documents/tools/
 
 Apache adaptors:
 
 http://wocommunity.org/documents/tools/mod_WebObjects/
 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 
 Thanks.
 
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.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/archive%40mail-archive.com

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


Re: Jenkins and Framework build path dependency

2012-03-08 Thread Pascal Robert

Le 2012-03-08 à 14:34, Daniel Roy a écrit :

 Hi,
 
 I've setup Jenkins in test to start building our frameworks and applications. 
  WOJenkins is excellent - thank you so much for providing this David 
 Avendasora (and anyone else who may have helped)!
 
 We build our own ERPrototypes because we have some custom types we need to 
 use.  Our frameworks use this ERPrototypes framework instead of the vanilla 
 Wonder ERPrototypes.  We reference our ERPrototypes framework as a Project 
 dependency in the build path instead of a Library (framework) dependency.  
 This works fine in Eclipse because Eclipse can magically account for the 
 linked project and include the linked project's files in the build process.  
 However, Jenkins can't resolve the dependency.  
 
 Using the scripts provided in WOJenkins, the build process never pulls in the 
 required framework because the .classpath entry in the affected Eclipe 
 project is as follows:
 
 classpathentry combineaccessrules=false exported=true kind=src 
 path=/ERPrototypes/
 
 I've tried modifying the WOJenkins setup script to unpack the ERPrototypes 
 framework into the correct location of the affected project, but that doesn't 
 make any difference during build time because ant doesn't know about the 
 dependency.
 
 Does anyone have any ideas how the build can be accomplished?  I could modify 
 the .classpath file of the affected project after it's pulled down from SVN 
 and change the ERPrototypes line to be the standard 
 WOFramework/ERPrototypes, since our ERPrototype is build before all other 
 frameworks in the Jenkins build process.  Or, is there possibly another way?

One way to achieve this would be to change the grep that is done by WOJenkins 
on .classpath so that it works for frameworks defined as projects would work.


 ___
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

Re: Jenkins and Framework build path dependency

2012-03-08 Thread David Avendasora
Hi Daniel

Okay, this is the second question on the subject of How do I get WOJenkins to 
build my modifications to WOnder

I'll work on creating a Wiki page to cover this as it seems it isn't a well 
understood a topic. For now, read below.

On Mar 9, 2012, at 3:34 AM, Daniel Roy wrote:

 Hi,
 
 I've setup Jenkins in test to start building our frameworks and applications. 
  WOJenkins is excellent - thank you so much for providing this David 
 Avendasora (and anyone else who may have helped)!

You're welcome! Glad it's making your life easier.

 We build our own ERPrototypes because we have some custom types we need to 
 use.  

Okay, hold on. This is a bit of a unique situation.

While you might need to modify WOnder source code in many WOnder Frameworks, 
ERPrototypes isn't one that you should probably do this with. There are better 
ways.

According to Anjo, ERPrototypes was originally created just to provide 
prototypes for the example apps in WOnder. While just about everyone uses it as 
the source for prototypes for their own Apps, it's really *horribly* broken in 
a lot of ways and since there's no way to fix it without breaking everyone's 
existing applications that depend on it, it's going to stay broken.

Anjo's advice, and the advice I'm going to give you is to create your own 
Prototypes either directly in your EOModel, or create your own MyPrototypes 
EOModel and put it in a MyCore framework that you use as the basis of all your 
Apps.

No? Don't want to go through all of that right now? Okay then, read below for 
the instructions that should work for getting WOJenkins to build your 
modifications to any of the Wonder Frameworks.

 Our frameworks use this ERPrototypes framework instead of the vanilla Wonder 
 ERPrototypes.  We reference our ERPrototypes framework as a Project 
 dependency in the build path instead of a Library (framework) dependency.  
 This works fine in Eclipse because Eclipse can magically account for the 
 linked project and include the linked project's files in the build process.  
 However, Jenkins can't resolve the dependency. 
 
 Using the scripts provided in WOJenkins, the build process never pulls in the 
 required framework because the .classpath entry in the affected Eclipe 
 project is as follows:
 
 classpathentry combineaccessrules=false exported=true kind=src 
 path=/ERPrototypes/

Stop! Don't touch that. Ignore it. It's not what you want to be looking at or 
messing with.

 I've tried modifying the WOJenkins setup script to unpack the ERPrototypes 
 framework into the correct location of the affected project, but that doesn't 
 make any difference during build time because ant doesn't know about the 
 dependency.

Ouch. Bt. No, don't do that.

 Does anyone have any ideas how the build can be accomplished?  I could modify 
 the .classpath file of the affected project after it's pulled down from SVN 
 and change the ERPrototypes line to be the standard 
 WOFramework/ERPrototypes, since our ERPrototype is build before all other 
 frameworks in the Jenkins build process.  

You're thinking in the wrong direction. WOJenkins is here to make your life 
easier, not harder and more complicated.

 Or, is there possibly another way?

Yes!!!

It's simple. You're thinking about it backwards. You are thinking: I need to 
substitute the WonderX.framework in WOJenkins' WOFrameworksRepository with my 
customized version so my project will build correctly.

The correct way to think of it is: I want to build Wonder.

We now live in a Git world. This is a fundamental change in how you should 
think of working with third-party source code.

You don't want to build Their Project Wonder, you want to build Your 
Project Wonder. 

If you are going to make changes to Wonder, you should have your Fork of WOnder 
on github. It's easy, create an account on Github, go to 
https://github.com/projectwonder/wonder and click the Fork button!

Make your changes to Wonder and commit them to your *own* Wonder repository, 
then tell InstallWOAndWOnder Jenkins job to check the WOnder source code out 
from THERE instead! That way the Wonder frameworks that the InstallWOAndWOnder 
job is building have your modifications in them.

Basically, instead of the SCM repository being: 
https://github.com/projectwonder/wonder.git
It should be: https://github.com/mygithubaccount/wonder.git

Dave
 ___
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


Re: Jenkins and Framework build path dependency

2012-03-08 Thread David Avendasora

On Mar 9, 2012, at 4:32 AM, Pascal Robert wrote:

 
 Le 2012-03-08 à 14:34, Daniel Roy a écrit :
 
 Hi,
 
 I've setup Jenkins in test to start building our frameworks and 
 applications.  WOJenkins is excellent - thank you so much for providing this 
 David Avendasora (and anyone else who may have helped)!
 
 We build our own ERPrototypes because we have some custom types we need to 
 use.  Our frameworks use this ERPrototypes framework instead of the vanilla 
 Wonder ERPrototypes.  We reference our ERPrototypes framework as a Project 
 dependency in the build path instead of a Library (framework) dependency.  
 This works fine in Eclipse because Eclipse can magically account for the 
 linked project and include the linked project's files in the build process.  
 However, Jenkins can't resolve the dependency.  
 
 Using the scripts provided in WOJenkins, the build process never pulls in 
 the required framework because the .classpath entry in the affected Eclipe 
 project is as follows:
 
 classpathentry combineaccessrules=false exported=true kind=src 
 path=/ERPrototypes/
 
 I've tried modifying the WOJenkins setup script to unpack the ERPrototypes 
 framework into the correct location of the affected project, but that 
 doesn't make any difference during build time because ant doesn't know about 
 the dependency.
 
 Does anyone have any ideas how the build can be accomplished?  I could 
 modify the .classpath file of the affected project after it's pulled down 
 from SVN and change the ERPrototypes line to be the standard 
 WOFramework/ERPrototypes, since our ERPrototype is build before all other 
 frameworks in the Jenkins build process.  Or, is there possibly another way?
 
 One way to achieve this would be to change the grep that is done by WOJenkins 
 on .classpath so that it works for frameworks defined as projects would work.

The latest version of the WOJenkins scripts should have no problem finding 
other jobs with names the same as the framework.

I modified the setupWonderProjectWorkspace.sh script to work with all-in-one 
jobs as well and created an example job config: 
https://github.com/avendasora/WOJenkins_Job_WOProject_AllInOne_Git

But no matter what, if he's modifying Wonder, then he should have his own fork 
of the Github repository with his modifications and simply be building that 
instead of true wonder. No sense in building something and then going and 
replacing parts of it. Just build what you want in the first place.

Dave
 ___
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

Re: New locations for community resources

2012-03-08 Thread David Avendasora
Wow Pascal!

You are awesome. This really is fantastic - you've pulled together just about 
everything anyone needs to do WebObjects development! I'll start updating all 
of the WOJenkins stuff to point to these locations.

How do you want to go about moving WOJenkins to WOCommunity. I'm ready to 
transfer ownership of the WOJenkins repositories from my github account to 
WOCommunity's, but I want to coordinate with you.

One item that is missing from this (absolutely phenomenal) list is 
woproject.jar. WOJenkins needs it.

Mike Schrag had setup the WOLips job on the mdimension Jenkins to put a copy of 
it in the build artifacts directory so the WOJenkins scripts could grab it from 
there.

Maybe we can just have a WOProject_Current Jenkins job that does nothing but 
make woproject.jar available so the URL doesn't change as WOLips version 
numbers change?

I'd be happy to work on setting that up, but I don't think my old login for the 
WOCommunity Jenkins server works anymore.

Dave


On Mar 8, 2012, at 8:00 PM, Pascal Robert wrote:

 Good morning everyone,
 
 All community resources are now on wocommunity.org
 
 WOLips 3.7 stable:
 
  http://wocommunity.org/wolips/3.7/stable
 
 WOLips 3.7 latest:
 
  http://wocommunity.org/wolips/3.7/current
 
 Wonder builds:
 
  http://jenkins.wocommunity.org/view/Wonder/
 
 Wonder JavaDoc:
 
  Wonder stable (master branch):  
 http://wocommunity.org/documents/javadoc/wonder/stable
  Wonder latest (integration branch):  
 http://wocommunity.org/documents/javadoc/wonder/latest
  Wonder legacy (for 5.3):  
 http://wocommunity.org/documents/javadoc/wonder/legacy
 
 WebObjects JavaDoc:
 
  http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
  http://wocommunity.org/documents/javadoc/WebObjects/5.3/
 
 JProlifer 6 plugin:
 
  http://wocommunity.org/documents/tools/jprofiler6/
 
 Jadclipse:
 
  http://wocommunity.org/documents/tools/jadclipse/
 
 RuleModeler/eomodeldoc.jar/WOInstaller.jar
 
  http://wocommunity.org/documents/tools/
 
 Apache adaptors:
 
  http://wocommunity.org/documents/tools/mod_WebObjects/
 
 If you have links to the resources in other locations, please change your 
 links so that Google picks up the changes. If you see anything missing from 
 the list, please say so.
 
 Thanks.
 
 
 ___
 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/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.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/archive%40mail-archive.com

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


Help

2012-03-08 Thread Glycopolis
Help

J'Dan I. Garing
j...@global-village.net
(778) 558 4664

On 2012-02-24, at 12:00, webobjects-dev-requ...@lists.apple.com wrote:

 Send Webobjects-dev mailing list submissions to
webobjects-dev@lists.apple.com
 
 To subscribe or unsubscribe via the World Wide Web, visit
https://lists.apple.com/mailman/listinfo/webobjects-dev
 or, via email, send a message with subject or body 'help' to
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...
 
 
 Today's Topics:
 
   1. Re: WebObjects 5.4.3 and JavaClient Apps (Raymond NANEON)
   2. Re: WOWODC 2012 teaser (Chuck Hill)
 
 
 --
 
 Message: 1
 Date: Fri, 24 Feb 2012 01:23:27 +0100
 From: Raymond NANEON rnan...@me.com
 To: Philippe Rabier prab...@me.com
 Cc: WebObjects webobjects-dev webobjects-dev@lists.apple.com
 Subject: Re: WebObjects 5.4.3 and JavaClient Apps
 Message-ID: 72accece-816f-486e-b005-455a6745b...@me.com
 Content-Type: text/plain; charset=iso-8859-1
 
 Hi Phil,
 
 I searched for JavaClient post on WOLF list but, I found nothing.
 
 Ray
 
 
 Le 24 févr. 2012 à 00:58, Philippe Rabier prab...@me.com a écrit :
 
 Maybe you can try to post your problem on WOLF if you speak french. The list 
 is very quiet now but I know some members who did a lot of JC. 
 
 At Sophiacom, we use heavily but it was 6 or 7 years ago with WO 5.2.4. 
 
 Now you can't use Interface Builder anymore so you have to code your UI and 
 it's a pain. 
 
 I agree with John: run away! (but I liked it, it was a bit buggy but big 
 pleasure to use). 
 
 Philippe
 
 Sent from my iPhone
 
 On 23 févr. 2012, at 19:20, Raymond NANEON rnan...@me.com wrote:
 
 Hi,
 
 I have somes JavaClients apps to do but if a little example don't work, I 
 have a big problem. So If I can have any help about the dynamic link of the 
 JavaClient.jnlp, I take.
 
 
 Thanks
 
 
 
 Le 23 févr. 2012 à 17:28, John Huss johnth...@gmail.com a écrit :
 
 I don't want to offend David A, but my advice is: run away!
 
 John
 
 On Thu, Feb 23, 2012 at 7:46 AM, Raymond NANEON rnan...@me.com wrote:
 Hi,
 
 I tried  a little JavaClient app but I can't launch the app because the 
 JavaClient.jnlp link is broken.
 
 I got this error : 
 
 [2012-2-23 14:33:42 CET] main Opening application's URL in browser:
 http://imac-cedre.utt.fr:51807/cgi-bin/WebObjects/WebStartJNLPTest.woa
 [2012-2-23 14:33:42 CET] main null
 [2012-2-23 14:33:42 CET] main Waiting for requests...
 [2012-2-23 14:33:49 CET] WorkerThread0 
 com.webobjects.appserver._private.WOStaticResourceRequestHandler Unable 
 to get contents of file for uri.  file: 
 /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp;
  uri: 
 /cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp
 [2012-2-23 14:33:49 CET] WorkerThread0 java.io.FileNotFoundException: 
 /Library/WebServer/Documents/cgi-bin/WebObjects/WebStartJNLPTest.woa/eowebstart/com.webobjects.eodistribution._EOWebStartAction/webStart/JavaClient.jnlp
  (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:120)
at 
 com.webobjects.appserver._private.WOStaticResourceRequestHandler.handleRequest(WOStaticResourceRequestHandler.java:86)
at 
 com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at 
 com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at 
 com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:680)
 
 Main
 
 html
  head
titleMain/title
  /head
  bodyPlease
webobject name = JavaClientLink click here /webobject
to start WebStartJNLPTest through WebStart.
  /body
 /html
 
 JavaClientLink: WOHyperlink {
href = javaClientLink;
 }
 
 JavaClient 
 
 body webobject name = JavaClientComponent / /body
 
 JavaClientComponent: WOJavaClientComponent {
j2seVersion = 1.4+;
applicationClassName = 
 com.webobjects.eogeneration.EODynamicApplication;
applicationName = D2JC WebStart Test;
applicationDescription = D2JC WebStart Test;
downloadClientClasses = noDownloadClientClasses;
vendor = TEST;
 }
 
 Thanks for your Help
 
 Envoyé depuis iCloud
 
 ___
 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/johnthuss%40gmail.com
 
 This email sent to johnth...@gmail.com
 
 
 
 

Re: Status Code: 500 upon deleting scm from Jenkins for first time?

2012-03-08 Thread Paul Hoadley
Hi James,

On 09/03/2012, at 12:06 PM, James Cicenia wrote:

 WOW Borneo!!!?
 
 I think I now understand Jenkins a lot more.
 
 I have my repository up. I created a job. And after 14 hours killed it.

As I've noted in other threads, it's not working.  A job shouldn't take that 
long.

 The console didn't give me much. So let's review:



-- 
Paul.

http://logicsquad.net/



 ___
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


Re: jenkins job running now at 3+ hours?

2012-03-08 Thread David Avendasora
Yeah, Spaces in Jenkins job names can cause problems. Use underscores.

Also, if you are cloning a git repository like WOnder and don't have a very 
fast internet connection (like me) then it can take several hours to Clone. I 
believe my clone of Wonder took around 10 hours. But my internet can be 
downright 1995 at times.

Dave

On Mar 8, 2012, at 7:17 AM, James Cicenia wrote:

 Is that normal? Are the spaces in the job name messing it up?
 
 
 Started by user anonymous
 Building in workspace /Users/Shared/Jenkins/Home/jobs/PI2 The 
 Refresh/workspace
 Checkout:workspace / /Users/Shared/Jenkins/Home/jobs/PI2 The 
 Refresh/workspace - hudson.remoting.LocalChannel@d977d63
 Using strategy: Default
 Checkout:workspace / /Users/Shared/Jenkins/Home/jobs/PI2 The 
 Refresh/workspace - hudson.remoting.LocalChannel@d977d63
 Cloning the remote Git repository
 Cloning repository origin
 
 
 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/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.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/archive%40mail-archive.com

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


Re: Status Code: 500 upon deleting scm from Jenkins for first time?

2012-03-08 Thread David Avendasora
 On Mar 9, 2012, at 9:36 AM, James Cicenia wrote:

 Is this the failure you were looking for:
 
 Status Code: 500
 
 Exception: 
 Stacktrace:
 java.lang.RuntimeException: Failed to instantiate class 
 hudson.plugins.git.GitSCM from 
 {:[hudson.plugins.git.util.DefaultBuildChooser,auto],authorOrCommitter:false,branches:{name:**},buildChooser:{stapler-class:hudson.plugins.git.util.DefaultBuildChooser},clean:false,disableSubmodules:false,excludedRegions:,excludedUsers:,gitConfigEmail:,gitConfigName:,gitTool:Default,includedRegions:,localBranch:,pruneBranches:false,recursiveSubmodules:false,reference:,relativeTargetDir:,remotePoll:false,scmName:,skipTag:false,value:1,wipeOutWorkspace:false}
   at hudson.model.Descriptor.newInstance(Descriptor.java:572)
No, it should have been something about not being able to find  the build.xml 
file.

If you aren't getting to that point, then I'm guessing there is something wrong 
with git checking out WOJenkins. I'd reinstall Git on your computer 
(http://git-scm.com/download) then try again.

Also, make sure that EVERYTHING in the Jobs directory has proper permissions 
(sudo chown -R daemon:daemon /Users/Shared/Jenkins/Home/jobs if you installed 
Jenkins using the OS X installer)

What was the ENTIRE console output from the job? You can get it from 
http://localhost:8080/job/MyJob/3/console (the 3 is the build number, so you 
should change that to whatever build you want to see the console for).

Dave

 ___
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


Re: Status Code: 500 upon deleting scm from Jenkins for first time?

2012-03-08 Thread David Avendasora

On Mar 9, 2012, at 9:36 AM, James Cicenia wrote:

 What triggers Jenkins?
 
 Normally, you'd set up the job to watch your SCM for changes and build 
 whenever it sees new code.
 
 OK - That would be good for testing only and not deployment so I will stick 
 with the manual method for now.

Well currently WOJenkins doesn't actually deploy your app for you anyway - at 
least not the scripts that we've been talking about so far.

But when you go to deploy, just take the latest build artifacts and deploy 
those. That way you are always deploying the same thing that has just passed 
whatever tests, even if it's just that it will fully compile.

Jenkins should eliminate building your app for deployment in Eclipse.

Dave
 ___
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