Re: [OT] Eclipse and MBP
On Tue, May 6, 2008 at 7:27 PM, Pascal Robert [EMAIL PROTECTED] wrote: Does anyone here have this problem? http://discussions.apple.com/thread.jspa?threadID=1065674tstart=0 Yes, my MBP has this exact problem. Almost always happens when debugging in Flex Builder (built on Eclipse). Happened once when launching a Java program in Eclipse. Logan ___ 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 [EMAIL PROTECTED]
Re: Webobjects, Flex and Sessions
On Mon, Mar 10, 2008 at 8:07 AM, Pascal Robert [EMAIL PROTECTED] wrote: Hi Thierry, have a look at this: SVN: http://www.intellicore.info/wox/repos/ Demo: http://pallas.homelinux.org/app/WebObjects/WoxMovies.woa That's awesome. Does it work with BlazeDS, or does it require GraniteDS? -- RedBugz Software http://www.redbugz.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 [EMAIL PROTECTED]
Re: WOLips nightly: generated SQL missing spaces
On 10/31/07, Mike Schrag [EMAIL PROTECTED] wrote: EM uses the classpath defined in the project the model you're editing is in to determine how to call EOF -- Is the model's project setup against 5.4 or 5.3? I'm having the same problem. WOLips 5472, clean Leopard install with WO 5.4, brand new WebObjects Application project, imported the Vacation EOModel from WOnder, tried both mysql jdbc jar for 3.1.12 and 3.0.17 GA, all have the same problem: * missing spaces when defining int types * cannot do primary key generation Generated SQL: CREATE TABLE GROUPS (groupID intNOT NULL, name varchar(80)NOT NULL, parentGroupID int); CREATE TABLE PERSONS (EMAIL varchar(255), groupID int, NAME varchar(40)NOT NULL, notes varchar(255), PASSWD varchar(20)NOT NULL, PRIMARY_KEY intNOT NULL, TYPE varchar(20)NOT NULL, USER_ID varchar(40)NOT NULL); CREATE TABLE SETTINGS (ARCHIVE_DATE dateNOT NULL, UNIQUE_ID intNOT NULL); CREATE TABLE dates (ARCHIVED intNOT NULL, COMMENTARY varchar(120), FROM_DATE datetimeNOT NULL, FROM_PERIOD varchar(2), PERSONS_ID intNOT NULL, TO_DATE datetimeNOT NULL, TO_PERIOD varchar(2), TOTAL_TIME intNOT NULL, TYPE varchar(80)NOT NULL, UNIQUE_ID intNOT NULL); CREATE TABLE YEARLY_DATA (PERSON_ID intNOT NULL, VACATION_CO intNOT NULL, VACATION_ENT intNOT NULL, YEAR intNOT NULL); /* The 'Create Primary Key Support' option is unavailable. */; ALTER TABLE GROUPS ADD PRIMARY KEY (groupID); ALTER TABLE PERSONS ADD PRIMARY KEY (PRIMARY_KEY); ALTER TABLE SETTINGS ADD PRIMARY KEY (UNIQUE_ID); ALTER TABLE dates ADD PRIMARY KEY (UNIQUE_ID); ALTER TABLE YEARLY_DATA ADD PRIMARY KEY (PERSON_ID, YEAR); ALTER TABLE GROUPS ADD CONSTRAINT GROUPS_parentGroup_FK FOREIGN KEY (parentGroupID) REFERENCES GROUPS (groupID); ALTER TABLE PERSONS ADD CONSTRAINT PERSONS_group_FK FOREIGN KEY (groupID) REFERENCES GROUPS (groupID); ALTER TABLE dates ADD CONSTRAINT dates_person_FK FOREIGN KEY (PERSONS_ID) REFERENCES PERSONS (PRIMARY_KEY); ALTER TABLE YEARLY_DATA ADD CONSTRAINT YEARLY_DATA_person_FK FOREIGN KEY (PERSON_ID) REFERENCES PERSONS (PRIMARY_KEY); ___ 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 [EMAIL PROTECTED]
Re: WOLips nightly: generated SQL missing spaces
On 10/31/07, RedBugz Software [EMAIL PROTECTED] wrote: * missing spaces when defining int types Sorry, should be * missing spaces between type and not null declaration ___ 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 [EMAIL PROTECTED]
Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post
On 10/28/07, Art Isbell [EMAIL PROTECTED] wrote: On 29/10/2007, at 6:23 AM, Mike Schrag wrote: There are lots of other ways to address many of the steps I list here, and Apple now recommends that you use the jar versions of their frameworks instead of the .framework versions which I use, Does Apple provide these jar versions of the frameworks somewhere? Check out /Library/WebObjects/lib. Nice. Includes the components and WebServerResources all together in a single jar. I haven't been doing much WO lately, so I guess I just missed it. I see the NSBundle documentation references it at least as far back as the 5.2.4 docs. However, I didn't see them mentioned anywhere else like the deployment guide or installation documentation or the Confluence wiki (could be my poor searching technique). Also, none of the existing tools (Xcode, WOLips) really seem to use them even though NSBundle calls them the preferred method. I assume they just need to be on the classpath, but does the WO launcher know how to find them? Any good examples of how to use and build frameworks and/or applications this way? I would guess the Maven support uses these, is anyone else using this style regularly? thanks, Logan ___ 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 [EMAIL PROTECTED]
Re: Deploying a Project Wonder project on linux
I've only deployed a Wonder app using SSDD on Tomcat on Linux, but I'll try to help. I'm assuming you have done a normal deploy of WO on Linux w/o Tomcat (which I've never done). On 10/22/06, Matt Kime [EMAIL PROTECTED] wrote: I have Project Wonder working with XCode and WO 5.3. I have WO 5.3 deployed on redhat linux. I'm having trouble getting my app deployed utilizing PW. Starting my app seems to indicate that the frameworks have been found - ERExtensions.framework/Resources/Java/ERExtensions.jar ERExtensions.framework/Resources/Java/src.jar If this shows up exactly this way in the run log, then there's probably a problem with the UNIXClassPath.txt, as normally it should be prefixed with the path of your installation. I think that your UNIXClassPath.txt should have an entry like this: LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar and you need $NEXT_ROOT defined to be where you installed WO, somewhere like /opt/Apple/ then when you run your app, it should resolve LOCALROOT to LOCALROOT=${NEXT_ROOT}/Local and your run log should show something like this (assuming $NEXT_ROOT is /opt/Apple: /opt/Apple/Local/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar If you use embedded frameworks, or servlet deployment, it will be a little different. Maybe you knew this already, in which case I can't help much. HTH, Logan ___ 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 archive@mail-archive.com
Re: Re: Frontbase [Solved]
On 10/3/06, John Huss [EMAIL PROTECTED] wrote: Another option, and one that I have not tried, is to change the join type for this relationship from inner to a left outer join. ChuckFrontbase does NOT handle legacy style outer joins correctly (key *= key).It will return a result set, but it will be wrong.This hasalways frustrated me.JohnDB2 has the same problem and I had to write a custom JDBC plugin to switch the format to the LEFT OUTER JOIN syntax instead. Logan ___ 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 archive@mail-archive.com
Re: DB2 and WO
On 9/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello -- does anybody use DB2 with WO5? I can't see any adaptors out there? Has anybody had a crack at writing a JDBC adaptor for it? We use DB2 for one of our WebObjects projects. We were just using the normal JDBC stuff until we encountered a problem with LEFT OUTER JOIN syntax and needed some additional non-JDBC DB2-only functionality, so we ended up writing a small plugin to work around those. I don't think I can publish the class, but I can give snippets. It was my first attempt and probably not very good, but it worked for our needs. We've not had luck with the pure-Java drivers, but that could easily be a function of the strict nature of the DB2 database we access. The native type-2 drivers work just fine, though they were a pain to install and get working. Logan ___ 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 archive@mail-archive.com
Re: Folder structure with Eclipse
On 8/27/06, Wolfram Stebel [EMAIL PROTECTED] wrote: Hi all, My WO project has grown in the last years and it is not structured to well, with packages etc. I'm coming from a Xcode project with lots of nested folders for WebComponents as well as for java files. Now i want a clear folder structure in Eclipse too. What is a clever refactoring for improving the project structure. It is also not very clear, how to put EOGenerator files in their own folder in the creation cycle (to keep the project folder content small). I used to have a folders EO's and Generated EO's where i never needed to look into the Generated... folder for obvious reasons :-) Is there a how to on the web or will someone talk about his solution? You may want to look at some of the larger open source projects to see how they manage it. Project Wonder has a simple consistent structure, but doesn't subgroup their components very much. GVC.SiteMaker has an interesting document on using Eclipse/WOLips with their project, as their setup is quite involved. They use lots of subprojects to group their components and classes. The largest projects I deal with are older legacy projects created and maintained in ProjectBuilder/Xcode that use lots of subprojects to group components and source into modules. I've converted those to WOLips and continue to use the subproject structure. It's more complicated and tedious to set up in WOLips, but once it's done you don't need to worry about it much. Newer projects haven't grown in size large enough for me to really start worrying about project structure too much. I do create folders at the root of the project for different kinds of resources, much like Wonder does. You can even duplicate your Xcode virtual folder structure in WOLips, but Eclipse follows your file system pretty carefully, so all of your Xcode groups will need to become actual filesystem folders in Eclipse. I have some projects that I inherited that build generated stuff into separate folders as well. Eclipse lets you have many source folders per project, so it can be done, though is a bit tricky the first time to understand, but then it's straightforward. I only do a little EOGenerator stuff, and it just builds directly into my normal source folder. I use Java packages for pretty much everything new, but I haven't converted our old projects, where most stuff is still in the default package. This can get messy in WOLips as all of your source and component classes are in one big default package folder. It's fairly easy to convert the classes themselves to use packages using Eclipse's refactoring support. You can create a package folder and just drag and drop the classes from with the Eclipse Package Explorer or Navigator, and it will automatically convert the classes to that package. Getting WebObjects to recognize that your classes are in packages can be trickier, but again, once it's done it's done, and straightforward after that. When I get some time, I'll try to post an example on the wiki. Logan ___ 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 archive@mail-archive.com
Re: Project WONDER api now online (Was: Reusable translated button)
On 8/23/06, David LeBer [EMAIL PROTECTED] wrote: On 23-Aug-06, at 7:00 AM, Mike Schrag wrote: http://www.mdimension.com/~wonder/api http://www.mdimension.com/~wonder/Wonder-latest-Documentation.tar.gz msThanks Mike.This alone should help greatly reduce the 'trepidation' to PWadoption. :-) The API was already available online at:http://wonder.sourceforge.net/javadoc/Though I don't know if it was prominently linked from anywhere or how up-to-date it was. But thanks Mike, I'm sure the mdimension version will stay up to date better, and the SourceForge site gets flaky sometimes :(. And I'm not sure if it will greatly reduce the trepidation. When I dove into Wonder the first time, I found the API docs pretty quickly via Google. Having them available is helpful, but for newcomers, Wonder is just too immense. I spent several hours a day just reading Javadocs and source code to figure out what was going on and how things work. What Wonder really needs for newcomers is a roadmap, good introduction, and some high-level overview type of stuff, and probably a tutorial or two. Some of that already exists and can be gleaned from the existing documentation, but it's a bit spread out and some is in .txt files that aren't hyperlinked, and it still requires digging into source no matter what, at least if you're using D2W, IMO. I plan to help with some of this when I get some time, building on my experience. I added a few things to the Wikibook, but from my discussions with Anjo, there are some definite patterns and design philosophies that are helpful to know, and it appears that there are some old legacy classes that need to be marked better as such, or at least steer folks to the newer/better way. That's the kind of stuff I just don't know well enough yet. Logan ___ 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 archive@mail-archive.com
Re: Reusable translated button
On 8/22/06, Mike Schrag [EMAIL PROTECTED] wrote: Which is why I think that Bill Bumgarner was totally wrong last year: Wonder *is* exactly for beginners. You may have problems, or you may not understand 5% or it. But it contains 99% of what you will build for yourself if left on your own, only that it works. I very much agree with this.Project Wonder is LARGE, but it's easyto begin using.I wish I had started using it day one, as it wouldhave saved me a lot of pain.It's literally about 5 minutes toinstall and start using on a new project. Part of the problem is the size and scope of Wonder. The very basic things, extend the ERX* classes and get better stability and locking, things like that are pretty easy now (they weren't a year or two ago when I first tried Wonder, could never get a project to build and run after several hours so I gave up ...) so kudos on making the barrier to entry lower. However, there are parts of Wonder that are not for beginners, are not as well documented, and when you're a beginner and only know 5%, when something goes wrong it can be very daunting. It's very difficutl to know if you messed up, are just using something wrong, or it's a bug, that's just the nature of the beast, and the list is very handy for that. Now, the D2W portion of Wonder, I think does suffer from lack of documentation or clarity or whatever. I started making the Component Tour on my own just to see what all the components did, and some of them have the new doclet binding docs, some of them don't, but most of them were incomplete enough so I didn't do it right the first time without dropping into the source or the .wo to figure out which bindings were required, how they were used, etc. Maybe it's intuitive to someone more experienced than me, but I struggled. I worked through it, but it was frustrating. There also seems to me to be an inconsistency on which components want Display Groups, which ones want Data Sources, which ones want NSArrays, some take any. This is to be expected from a large collection of contributions from a variety of authors and projects, but adds to the confusion. Some just don't display when you wire them up wrong, others blow up. Being new to both D2W and Wonder at the same time made it even worse. Very bad combo, IMO.So parts of Wonder are very well documented and easy to use, some are not, as to be expected from such a large collection. But when you don't know which is which, it's trickier. And even when you do search the web, there's very little outside of the docs to help with Wonder/D2W issues. It's the Javadocs, the list (which right now means Anjo), and the source. Google finds very few references to any of the classes outside of the list and the Javadocs. There certainly doesn't seem to be any kinds of a reference application that shows the best way to use many of the Wonder classes. I'll stop now and start adding stuff to the Wiki :).Logan ___ 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 archive@mail-archive.com
Re: Re: Missing com.apple.client.directtoweb
On 8/20/06, Dustin Withers [EMAIL PROTECTED] wrote: Also does anybody have any knowledge about configuring log4j? If I include Wonder libraries into my app Eclipse no longer logs anything it just gives me: log4j:WARN No appenders could be found for logger (org.apache.log4j.Logger). log4j:WARN Please initialize the log4j system properly. 1789 [main] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. 1835 [main] WARN NSLog - If you're using WOLips, then my best guess is your Properties file is not correct. If you use the WOLips WOnderApplication project template, then it creates a Properties file that should work just fine. If you created your project with Xcode or using a normal WOApplication template, then you will need to add some stuff to your Properties file. If you don't have a bunch of stuff that looks like this in your Properties file: # Log4j Configuration log4j.loggerFactory=er.extensions.ERXLogger$Factory # Set root category priority to DEBUG and its only appender to A1. log4j.rootCategory=DEBUG, A1 # A1 is set to be a FileAppender which outputs to System.out. log4j.appender.A1=org.apache.log4j.ConsoleAppender . a bunch more stuff then I'd recommend you use the new WOnderApplication Wizard to create a new project and copy all of those entries from that project's Properties file into your existing project. If you do have those entries, then I'd have to start looking at the classpath to make sure that all the correct classes are there and you aren't accidentally picking up a really old copy of log4j from somewhere like /Library/Java/Extensions. You can also try running the project with -Dlog4j.debug=true which will tell you where it's loading the configuration from and any errors it encounters. HTH, Logan ___ 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 archive@mail-archive.com
Re: Going mad with using framework
On 8/18/06, Yann Bizeul [EMAIL PROTECTED] wrote: Hi list,I'm trying to install QualifierAdditions.framework.After installing eclipse because I did not find a way to compile itwith xcode, I did Install Framework in eclipse. So far, so well, the framework seem to be installed in /Library/Frameworks and I have a .jar into the Java subdirectoryNow I add this framework to my project, in the Application Servertarget, and all I get when Installing is Application.java:12: package com.houdah.webobjects.eocontrol does notexistThis framework is listed in Link binary with Libraries item of theApplication Server target and I don't see how to get out of this. Please help ! If not for me, do this to avoid my powerbook to jumpout through the window !I assume line 12 is:import com.houdah.webobjects.eocontrol.*:All I can think of are the sanity checks. Look at the raw build log and make sure the .jar file is listed in the classpath and has the same case and correct permissions. Use Jaree or jar -tf to verify that com.houdah.webobjects.eocontrol actually exists in the .jar file. Manually clean the project and try building again. Restart Xcode. Wave dead chickens After that, I guess you can try building your project in WOLips as well. Good luck,Logan ___ 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 archive@mail-archive.com
Re: Time out!
On 8/14/06, Chuck Hill [EMAIL PROTECTED] wrote: On Aug 14, 2006, at 9:25 AM, Alan Ward wrote: Mixing wod definitions in with html is simply rude :-) It makes refactoring even more of a pain than it already is (with KVC) as now you have another set of files in which references may be found.I am not so fond of it myself.I have a number of pieces of codethat dynamically generate the WOD portion for use with canned HTML(or vice versa).Changing these to having them all in one would be a painful task.Luckily, the architecture of WOComponents is such thatwe don't all need to use the same parser.Even different pages inthe same app can use different parsers.If we are going to adapt an existing HTML editing tool for use with WO we probably don't have any choice but to follow the herd, discardthe concept of WOD and merge both concepts into a single HTML file.ChuckI believe the Spindle Eclipse plugin for Tapestry allows for these separated files. I may be naive, but are there that many technical hurdles to allowing span woid=componentName in addition or as a replacement to webobject name=componentName? Both Tapestry and JSF use this convention and both have Eclipse support, including WYSIWIG support either done or coming soon for both. Granted, this would break WebObjects Builder, but pretty much any change is going to do that at this point, right?Logan ___ 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 archive@mail-archive.com
Re: Time out!
On 8/14/06, Mike Schrag [EMAIL PROTECTED] wrote: If it's going to be an Eclipse-based tool, my preferred route wouldbe to propose an addition to the browser API that supports DOMaccess, at which point we can do all kinds of fancy things withoutrequiring our files to be in any particular format. msI don't know enough about Eclipse internals to know how feasible this is, but would defining a default namespace and treating WebObjects .html files as XML/XHTML allow for more flexibility in parsing? Is there any merit to the possibility of using XSLT or something similar to transform the files back and forth between legacy WebObjects HTML format and some XHTML format that the default Eclipse tools would handle better, either in-memory or as some tools process? Just thinking out loud here, feel free to shine the harsh light of reality on my simplistic thinking :).Logan ___ 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 archive@mail-archive.com
Re: Time out!
On 8/14/06, Mike Schrag [EMAIL PROTECTED] wrote: Not simplistic thinking at all, however, where things break down is that it's perfectly valid WO to put a tag INSIDE another html tag (it looks kind of funky, and i suspect people who use that feel a little dirty inside, but nevertheless ...) so i don't /believe/ you could ever make that play nicely with a properly validating parser. ms Are you talking about something like: link href=WEBOBJECT NAME=ResourceURL1/WEBOBJECT type=text/css rel=stylesheet I could see where that would be a problem. Logan ___ 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 archive@mail-archive.com