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=1065674&tstart=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, 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: 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: 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: Re: Somewhere a short howto for using JasperReports with WO?
Everything wents fine until you hit the print button. At this point a null pointer exception occured: [2006-11-09 10:10:36 CET] java.lang.NullPointerException at com.wocode.jasper.WCJRUtils.compileReport(WCJRUtils.java:40) at com.wocode.jasper.WCJRUtils.printReport(WCJRUtils.java:86) at Main.printReport(Main.java:45) at Main.printReport(Main.java:67) ... I´ve filled the database with some movies, actors... so there is data which can be printed. Any ideas what might happen? Sorry it took so long to get back on this. The problem is that it can't find your report file. Here's the code: URL reportURL = app.resourceManager().pathURLForResourceNamed(reportName, frameworkName, null); return JasperCompileManager.compileReport(reportURL.getPath()); reportURL is null, because the call to app.resourceManager().pathURLForResourceNamed() is failing. This was triggered by this code: public static boolean printReport(String reportName, String frameworkName, Map parameters, JRDataSource datasource, String printerName) throws JRException, URISyntaxException { JasperPrint jasperPrint = null; if(reportName.endsWith("xml")) { JasperReport report = compileReport(reportName, frameworkName); so the reportName and frameworkName are not resulting in a file that WebObjects can find. You may want to try some logging with app.resourceManager().pathURLForResourceNamed(reportName, frameworkName, null); for various of values of reportName and frameworkName (use null for the frameworkName if it's in the application itself) to see where the problem is. 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: Somewhere a short howto for using JasperReports with WO?
On 11/6/06, Mike Bobkiewicz <[EMAIL PROTECTED]> wrote: Hi, I´m looking for a short howto on how to use JasperReports to print from a WO WebApplication. I´ve downloaded the latest sources of Jasper from sourceforge and from within the Report Designer everything works fine on my OS X 10.4.7 / XCode 2.4 system. But the demo source I´ve downloaded from wocode.com crashes when it tries to compile the report. I´m pretty unsure if it´s because on some errors within the project, my newer version of Jasper (installed 1.2.7, demo cames with 1.0.0). Somebody on the list mentioned WOJasperAccess which I can´t find via Google. Any advice is welcome. What do you mean by "crashes". Is there a stack trace? Does it kill the WebObjects application or just take you to an error screen? 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: Developer Connnection Membership
On 10/27/06, Amedeo Mantica <[EMAIL PROTECTED]> wrote: Thank you, but my question is… Can I access to more example code, manuals and other ? There are ? For a WO programmer there are benefits? In my experience, specifically for WebObjects, there are no real benefits. You will get access to seeds of Leopard, maybe new Xcode seeds. They don't post much WO stuff, and what they do post is generally available to everyone. About the only thing you might get access to is a newer version of WO included with a pre-release Xcode. If you think you might use your technical support incidents for WO help, that might be a real benefit, but confirm it will be useful first. The other benefits (hardware, WWDC) are not really WO specific, though many find them to be worthwhile, depends on your situation. 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: Developer Connnection Membership
On 10/27/06, Asa Hardcastle <[EMAIL PROTECTED]> wrote: The memberships are very useful if you go to WWDC or purchasehardware. Unfortunately in the past we were unable to use any of ourtechnical support instances for help with WebObjects problems. Doesanyone know if this is still the case? We had inquired about using a technical support incident for code-level WebObjects support several years ago and they told us they could do deployment support, but weren't sure about code support. We never did use it as by the time the ADC membership got through our purchasing department, we had discovered a workaround to our problem. I asked at the ADC booth about this at this last WWDC and were told that someone in DTS had learned WebObjects so they could offer code-level WebObjects support, so it's at least a possibility now. I would confirm this yourself if it's important to you.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: Frontbase [Solved]
> DB2 has the same problem and I had to write a custom JDBC plugin to > switch the format to the LEFT OUTER JOIN syntax instead.Can you make the code for this available?I have put the DB2JDBCPlugin up on WOcode. http://wocode.com/cgi-bin/WebObjects/WOCode.woa/1/wa/ShareCodeItem?itemId=465Logan ___ 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: 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: Deploying 5.3 on Linux
Has anyone accomplished the goal I am referring to? If so, can you help shed some light on the process? I assume it involves some kind of complicated file copy/move scenario? I guess servlet-based deployment is an option but my understanding is that it doesn't work with Project Wonder and that's something that we use extensively. I've not tried to deploy this way due since I heard that it doesn't work with Wonder - but maybe that's not correct? I have deployed a Project Wonder D2W app onto Linux using Single-Servlet Deployment. I had to create a simple SSDD Xcode project, deploy it, then I deployed my WOLips app into the same directory structure. I'm pretty sure I had to tweak the web.xml a little. So it can be done. It's a pretty low-volume site, so I can't speak to it's stability. I have had to restart Tomcat a few times, but that could be due to some permissions problems we've had with the Tomcat installation. There was a minor problem or two with the Wonder stuff, but Anjo fixed them. 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: 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: 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: 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 . 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 the"Application 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, 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: 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
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, 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 in addition or as a replacement to ? 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