Discussion:
Interested in Modern UI Kits, like Bootstrap?
Francois BIENTZ
2018-10-24 21:38:56 UTC
Permalink
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?



Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This
Jesse Tayler
2018-10-24 21:46:45 UTC
Permalink
I’m not certain why you’d get that —

Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.

I presume you are able to run other Wonder stuff ok?

I right-click on ant build.xml and select Run to install the framework

Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.

I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.

You might just pull and make clean / install or check that wonder paths are ok in build path?

I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email
Francois BIENTZ
2018-10-24 23:43:17 UTC
Permalink
Yes I’m able to run other Wonder Apps

For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?

Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )

I have to search more what can be wrong on my environment

Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sen
Theodore Petrosky
2018-10-24 23:57:05 UTC
Permalink
Check the version of Java that is linked. When I first ran this I had lots of errors like that and discovered that Jesse is using an older version and my Java was not linked in. I deleted his and applied mine and the compile errors went away.
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to ***@m
Jesse Tayler
2018-10-24 23:59:18 UTC
Permalink
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself

My build.xml for the app looks normal and ends with

<target name="all" depends="clean, build, install, web" />


The build.xml for the frameworks looks normal and far more complex and begins with

<project name="BootstrapModernLook" default="build" basedir=".">


I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build


I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used

Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8

I could have checked in a mismatch that perhaps needs adjusting? Robert?
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run
it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
Jesse Tayler
2018-10-25 18:07:31 UTC
Permalink
Should we change that setting?

Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?

Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
Post by Jesse Tayler
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build

I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run
it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com <https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com>
Theodore Petrosky
2018-10-25 18:14:16 UTC
Permalink
I did not pull today :(

how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.

I will pull in a little while.

Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
Post by Jesse Tayler
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build

I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run
it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com <https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com>
Tim Worman
2018-10-25 18:21:43 UTC
Permalink
All,

I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.

I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.

Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to uoh
Tim Worman
2018-10-25 18:34:13 UTC
Permalink
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.

Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to ***@ml-in.na
Jesse Tayler
2018-10-25 18:38:28 UTC
Permalink
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net
Francois BIENTZ
2018-10-25 23:24:00 UTC
Permalink
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This em
Jesse Tayler
2018-10-26 11:04:20 UTC
Permalink
Ok Great!

As for the DB? I’m a bit confused myself -

There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework

I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?

If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net
Theodore Petrosky
2018-10-26 12:29:21 UTC
Permalink
If I read this correctly, it is using the H2 in memory database. the model is set up to have an entity TalentPhoto. The entity is set up to have a blob. However in the sql that is run when the app first starts, there is a section that sets up the TalenPhoto. I see a lot of these:

INSERT INTO talentphoto VALUES (NULL,551);

that NULL is the blob! I don’t know how you would get any blobs into this database.

http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to ***@ml
Jesse Tayler
2018-10-26 12:37:41 UTC
Permalink
Ha, well, that’s a good sleuthing job there Ted

And that sounds about right, no blobs..sigh.

I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.

I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...

I wonder if there is any reasonably easy way to set up and test images here?

Ted? Could we use a different DB?

Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…

In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!

Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to ***@ml-in.narkive
Theodore Petrosky
2018-10-26 12:51:36 UTC
Permalink
You can switch this to MSQL, Derby, or postgresql. the sql for each db is in the Resources folder. at the bottom of the zeroth migration you see:

ERXJDBCUtilities.executeUpdateScriptFromResourceNamed(database
.adaptorChannel(), "Movies0-"
+ ERXJDBCUtilities.databaseProductName(database
.adaptorChannel()) + ".sql", "ERMoviesLogic");


so you can see that if you change the db to postgresql, the migration will know and send the correct SQL. You could then create a migration that uploads a bunch of blobs into the database.

If I remember, when I was playing with ERAttachments (there is a tutorial under 10 minutes) I switched the database to postgresql and I was playing with using the filesystem for the images.
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing

In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
Post by Jesse Tayler
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build

I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run
it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
Theodore Petrosky
2018-10-26 14:46:52 UTC
Permalink
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email
Jesse Tayler
2018-10-26 15:56:44 UTC
Permalink
Hmm — are there blobs in it?

We just want a demo environment that people can unpack and just read/\write.

BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.

I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.

When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!

Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.n
Theodore Petrosky
2018-10-26 16:06:04 UTC
Permalink
No, No blobs :(

I was looking to see if we could upload some blobs in a migration.
Post by Jesse Tayler
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to ***@ml-in.narkive.net
Jesse Tayler
2018-10-26 16:22:52 UTC
Permalink
No idea, but I’d guess we should be able to put blobs in the migration somehow.

Are you able to upload a photo to a Talent? Try that and see if it works, if you can save, then we can update the migrations I’m sure.

We could call images from a free photo site -- perhaps fetch the data or even use the URLs

https://www.stockfreeimages.com/36682352/Orange-kitten-lie-on-the-bed.html

Having the model and whatever outside the app is cool for showing how frameworks can be shared. (I guess the Movie Rentals app uses the same model framework) However, it is also sorta of complicated for a demo app.

See if you can upload a photo image somehow using another database type and we’ll see what’s reasonable to do here.
Post by Theodore Petrosky
No, No blobs :(
I was looking to see if we could upload some blobs in a migration.
Post by Jesse Tayler
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This emai
Theodore Petrosky
2018-10-28 22:56:26 UTC
Permalink
ok so we just need to figure out a little more!!

this is a postgresql backend. we know that photo of talentphoto is a blob of type bytea.

insert into talentphoto(talent_id, photo) values (3, pg_read_binary_file('IMG_0179.JPG'));

pg_read_binary_file will read a binary file that lives in the root of the server. you can not give it a path. there must be a proc of postgresql that accepts a full path but that is not the issue. that sql will load the file into the database!

so for the test, I can upload a jpg into the backend. I cannot get it to display.

talk tomorrow.
Post by Jesse Tayler
No idea, but I’d guess we should be able to put blobs in the migration somehow.
Are you able to upload a photo to a Talent? Try that and see if it works, if you can save, then we can update the migrations I’m sure.
We could call images from a free photo site -- perhaps fetch the data or even use the URLs
https://www.stockfreeimages.com/36682352/Orange-kitten-lie-on-the-bed.html
Having the model and whatever outside the app is cool for showing how frameworks can be shared. (I guess the Movie Rentals app uses the same model framework) However, it is also sorta of complicated for a demo app.
See if you can upload a photo image somehow using another database type and we’ll see what’s reasonable to do here.
Post by Theodore Petrosky
No, No blobs :(
I was looking to see if we could upload some blobs in a migration.
Post by Jesse Tayler
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.nark
Jesse Tayler
2018-10-28 23:30:50 UTC
Permalink
Well, that sounds damn close to me — I can try my hand at it too.
Post by Theodore Petrosky
ok so we just need to figure out a little more!!
this is a postgresql backend. we know that photo of talentphoto is a blob of type bytea.
insert into talentphoto(talent_id, photo) values (3, pg_read_binary_file('IMG_0179.JPG'));
pg_read_binary_file will read a binary file that lives in the root of the server. you can not give it a path. there must be a proc of postgresql that accepts a full path but that is not the issue. that sql will load the file into the database!
so for the test, I can upload a jpg into the backend. I cannot get it to display.
talk tomorrow.
Post by Jesse Tayler
No idea, but I’d guess we should be able to put blobs in the migration somehow.
Are you able to upload a photo to a Talent? Try that and see if it works, if you can save, then we can update the migrations I’m sure.
We could call images from a free photo site -- perhaps fetch the data or even use the URLs
https://www.stockfreeimages.com/36682352/Orange-kitten-lie-on-the-bed.html
Having the model and whatever outside the app is cool for showing how frameworks can be shared. (I guess the Movie Rentals app uses the same model framework) However, it is also sorta of complicated for a demo app.
See if you can upload a photo image somehow using another database type and we’ll see what’s reasonable to do here.
Post by Theodore Petrosky
No, No blobs :(
I was looking to see if we could upload some blobs in a migration.
Post by Jesse Tayler
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This e
Theodore Petrosky
2018-10-28 23:33:45 UTC
Permalink
OK i got it to work!!

100 : pageConfiguration = 'InspectTalent' => displayPropertyKeys = ("firstName", "lastName", "moviesDirected", "photo.photo", "roles") [com.webobjects.directtoweb.Assignment]

100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => componentName = "ERD2WDisplayImage" [com.webobjects.directtoweb.Assignment]

100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => imageMimeType = "image/jpeg" [com.webobjects.directtoweb.Assignment]

100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => imageWidth = "250" [com.webobjects.directtoweb.Assignment]

put a jpeg in the root of your database and insert it into the database with:

update talentphoto set photo = pg_read_binary_file('IMG_0179.JPG') where talent_id = 87;

87 is Harrison Ford and is the first

update talentphoto set photo = pg_read_binary_file('IMG_0179.JPG') where talent_id = 3;

3 is ('Macaulay', 'Culkin', 3);

at least you can display images.
Post by Jesse Tayler
No idea, but I’d guess we should be able to put blobs in the migration somehow.
Are you able to upload a photo to a Talent? Try that and see if it works, if you can save, then we can update the migrations I’m sure.
We could call images from a free photo site -- perhaps fetch the data or even use the URLs
https://www.stockfreeimages.com/36682352/Orange-kitten-lie-on-the-bed.html
Having the model and whatever outside the app is cool for showing how frameworks can be shared. (I guess the Movie Rentals app uses the same model framework) However, it is also sorta of complicated for a demo app.
See if you can upload a photo image somehow using another database type and we’ll see what’s reasonable to do here.
Post by Theodore Petrosky
No, No blobs :(
I was looking to see if we could upload some blobs in a migration.
Post by Jesse Tayler
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent
Jesse Tayler
2018-10-28 23:55:12 UTC
Permalink
Wow — Great —

Let’s see, we should be able to have the image size dynamic a la bootstrap and I’ll fix up our new image component to be able to read a blog or take a url or whatever else we need —

I guess the first thing is to use the other migration, but I doubt I have that database installed?

And which was the one were using? Did we look up it’s blog handling or did we just have trouble with it?

And lastly — I guess you did NOT have to alter the actual model or model framework which I guess is key

I have a few more components mapped out that are interesting but I’m still stuck making a decent modern type-ahead / AJAX to-one editor.
Post by Theodore Petrosky
OK i got it to work!!
100 : pageConfiguration = 'InspectTalent' => displayPropertyKeys = ("firstName", "lastName", "moviesDirected", "photo.photo", "roles") [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => componentName = "ERD2WDisplayImage" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => imageMimeType = "image/jpeg" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => imageWidth = "250" [com.webobjects.directtoweb.Assignment]
update talentphoto set photo = pg_read_binary_file('IMG_0179.JPG') where talent_id = 87;
87 is Harrison Ford and is the first
update talentphoto set photo = pg_read_binary_file('IMG_0179.JPG') where talent_id = 3;
3 is ('Macaulay', 'Culkin', 3);
at least you can display images.
Post by Jesse Tayler
No idea, but I’d guess we should be able to put blobs in the migration somehow.
Are you able to upload a photo to a Talent? Try that and see if it works, if you can save, then we can update the migrations I’m sure.
We could call images from a free photo site -- perhaps fetch the data or even use the URLs
https://www.stockfreeimages.com/36682352/Orange-kitten-lie-on-the-bed.html
Having the model and whatever outside the app is cool for showing how frameworks can be shared. (I guess the Movie Rentals app uses the same model framework) However, it is also sorta of complicated for a demo app.
See if you can upload a photo image somehow using another database type and we’ll see what’s reasonable to do here.
Post by Theodore Petrosky
No, No blobs :(
I was looking to see if we could upload some blobs in a migration.
Post by Jesse Tayler
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so…
Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Post by Jesse Tayler
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing…
In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Post by Jesse Tayler
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This email sent to ***@ml-in.narkive.ne
Theodore Petrosky
2018-10-29 00:36:31 UTC
Permalink
I did not alter the model! the property is set up in postgresql as bytea, the migration is setup as talent.photo is a newBlobColumn. I don’t know how that maps in MySQL nor Derby nor H2. MySql should be no problem. I have never used Derby nor H2.

if you have MySql installed somewhere, you only need to create the database (an empty database) called movies, and set up the properties to point to that database. For me, I commented out the H2 line and added:

# Postgresql Connection Dictionary
dbConnectURLGLOBAL=jdbc:postgresql://localhost/movies?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull
dbConnectUserGLOBAL=admin
dbConnectPasswordGLOBAL=4004
dbConnectPluginGLOBAL=PostgresqlPlugIn
dbConnectDriverGLOBAL=org.postgresql.Driver
dbEOPrototypesEntityGLOBAL=EOJDBCPostgresqlPrototypes

that’s it!. Whoever set this up, did a good job keeping the sql simple to make sure it runs.
Wow — Great —
Let’s see, we should be able to have the image size dynamic a la bootstrap and I’ll fix up our new image component to be able to read a blog or take a url or whatever else we need —
I guess the first thing is to use the other migration, but I doubt I have that database installed?
And which was the one were using? Did we look up it’s blog handling or did we just have trouble with it?
And lastly — I guess you did NOT have to alter the actual model or model framework which I guess is key
I have a few more components mapped out that are interesting but I’m still stuck making a decent modern type-ahead / AJAX to-one editor.
Post by Theodore Petrosky
OK i got it to work!!
100 : pageConfiguration = 'InspectTalent' => displayPropertyKeys = ("firstName", "lastName", "moviesDirected", "photo.photo", "roles") [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => componentName = "ERD2WDisplayImage" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => imageMimeType = "image/jpeg" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'InspectTalent' and propertyKey = 'photo.photo') => imageWidth = "250" [com.webobjects.directtoweb.Assignment]
update talentphoto set photo = pg_read_binary_file('IMG_0179.JPG') where talent_id = 87;
87 is Harrison Ford and is the first
update talentphoto set photo = pg_read_binary_file('IMG_0179.JPG') where talent_id = 3;
3 is ('Macaulay', 'Culkin', 3);
at least you can display images.
No idea, but I’d guess we should be able to put blobs in the migration somehow.
Are you able to upload a photo to a Talent? Try that and see if it works, if you can save, then we can update the migrations I’m sure.
We could call images from a free photo site -- perhaps fetch the data or even use the URLs
https://www.stockfreeimages.com/36682352/Orange-kitten-lie-on-the-bed.html
Having the model and whatever outside the app is cool for showing how frameworks can be shared. (I guess the Movie Rentals app uses the same model framework) However, it is also sorta of complicated for a demo app.
See if you can upload a photo image somehow using another database type and we’ll see what’s reasonable to do here.
Post by Theodore Petrosky
No, No blobs :(
I was looking to see if we could upload some blobs in a migration.
Hmm — are there blobs in it?
We just want a demo environment that people can unpack and just read/\write.
BTW, I guess I used this database or perhaps worked on the team while it was being built? I don’t know but I see the unusual name of a childhood friend in the Talent and I surely put that in years ago either at my desk and the file is still being used - or I guess I worked on this project before the files got frozen in time.
I also see a LOT of stuff from NetStruxr (a dot-bomb I once worked on) —this is I guess the “ER” named things come from — a terrible app but a really good team of smart D2W thinking people.
When we realized we were going out of business, we started to “open source” the code which was a way to pass it on to our future selves more than anything!
Anyway, apparently this code from NetStruxr was used to start Wonder, I’d guess very early 2001 or so

Post by Theodore Petrosky
BTW, I spent about 5 minutes and shifted the db to postgresql. I know you use MySQL but it should be about the same.
Ha, well, that’s a good sleuthing job there Ted
And that sounds about right, no blobs..sigh.
I would LOVE to adapt the really old, outdated file upload UI — There’s a nice looking file browser input widget we could support drag+drop or at least do some handling up the upload progress or something.
I’d also like to better test the new, fancy Card and Carousel objects which of course rely on a set of URLs - as you can see, I canned the image for each movie to the same URL...
I wonder if there is any reasonably easy way to set up and test images here?
Ted? Could we use a different DB?
Or maybe I should alter the model and hold an image URL and we can use images we find around for testing

In my apps, I upload photos that get put in S3 buckets and scripts make thumbnails and finally, I generate URLs based on the key ID and bucket path but this takes like 20 steps to set up!
Thoughts on how a modern app can test file uploads and photos?
Post by Theodore Petrosky
INSERT INTO talentphoto VALUES (NULL,551);
that NULL is the blob! I don’t know how you would get any blobs into this database.
http://www.h2database.com/html/main.html
Post by Jesse Tayler
Ok Great!
As for the DB? I’m a bit confused myself -
There’s a database running for me, I think the model is in a framework called ERMoviesLogic and yet another model is in another framework
I have trouble accessing photos, often one side of the database is down and I never seem to be able to access the blob data?
If anyone knows exactly how this database is working, please let us know!
Post by Francois BIENTZ
Thanks a lot , things are working better : the App can be run now , except the database connection for me ...
Do you use the Derby database from the original example ? where is the "substitute" EOmodel for D2w hidden ?
Beat me to the punch, I’ll go merge that now —
Post by Tim Worman
I forked the project and created a pull request that encapsulates these changes. Hopefully that fixes the JRE issue.
Tim
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
Post by Jesse Tayler
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build

I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run
it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/f.bientz%40laposte.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
Jesse Tayler
2018-11-02 14:58:50 UTC
Permalink
...Thoughts on modern UI frameworks and WO/Wonder:

D2W is still one of my most favorite technology inventions ever. I fully believe it is the best way to capture the logical configuration of complex relational data and anything, but especially the web.

Getting even half-way through this modern UI framework reminds me just how powerful and cool D2W can be once you fully adopt the concept. I believe even the creators of D2W misunderstood how to best leverage the concept, but that's a conversation reserved for drinks!

“NOWOWODC”?? NYC?? anyone??

I love the amazing ability to adopt modern css class structures and produce a fully adaptive and gorgeously uniform presentation. It is just something that warms my software heart.

That being said, I can see a few reasons why it's hard for WO/Wonder to move into a more modern environment and I'm sure many of you are already fully aware of what I've only just recently educated myself on.

Modern-Look takes advantage of amazing AJAX stuff that leverages WOs DOM component naming systems to magically replace parts of the page's DOM — this AJAX stuff gets used in tabs and paging lists and all kinds of things. It's built-in via D2W rules like magic.

Ajax.framework and it's wonder.js is intimately bound to prototype.js and prototype has fundamental bugs and issues working with the now, vastly more prolific jQuery and thus, all the modern systems build upon jQuery including the Bootstrap and Shards being used in the UltraModern framework and demo have some nits and bugs.

I had to work around a very difficult bug, and it is clear that my fix is not universally applicable.

You can see the hack in the page wrapper of the Movies demo app.

BootstrapModernLook could replace the underlying ERMod frameworks, it nearly does that right now - but the Ajax stuff would be an order of magnitude more difficult and thus we'd have to choose between living with the legacy or needing to replace a pretty big loaf of cheese there in Ajax.framework.

Comments, thoughts or suggestions?














This framework will transform you from ugly, to irresistible—





Git clone the framework:

https://github.com/jtayler/BootstrapModernLook

Git clone new, demo app:

https://github.com/jtayler/UltraModernMoviesDemo



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net

This em

Jesse Tayler
2018-10-25 18:38:02 UTC
Permalink
Thanks Tim!

Ah, that’s great about the java version and yes, I bet that’s causing some troubles — can you check that in or make a pull or whatever so I can fix?

And ok, I added a Libraries folder there…just added a dummy file for now and we’ll ignore whatever is proper.

I think the keys are leftover while creating the components is in progress and you should not have trouble with them.

You should see what you remember as MoviesDemo, including a rather uniform layout and page system but components and pages that all respond to bootstrap rules and tags but I’m still working on some essential stuff yet

I notice the app has two sides? Talent has a separate model from the Photo? I notice photos do not load, and sometimes the database doesn’t let me connect which gives an error about not fetching photos…restarting seems to help.

Maybe someone knows what’s up with the data there or why I can’t seem to reach the photo blobs?
Post by Tim Worman
All,
I just imported the framework project. I changed a couple things. First, change the jdk to use “Workspace Default JRE." That may address the error with the build path having a specific jdk set. Also, I think the missing Libraries folder can be addressed the same way it is for other Wonder frameworks - basically add an empty .gitignore inside the Libraries folder.
I’m getting quite a few errors in components for “In the WOD, there is no key ‘<key_name> in <Component_Name>." Assuming these are keys that will operate correctly at runtime, these should be marked with ‘//VALID’ in the WOD.
Tim
UCLA GSEIS
Post by Theodore Petrosky
I did not pull today :(
how does it work with Wonder? I never had to change this when I cloned Wonder. It just opened using the Java that I had. Maybe I was just lucky.
I will pull in a little while.
Ted
Post by Jesse Tayler
Should we change that setting?
Ted? You used Ant to build the framework and then just right-click on application class to use Run As WoApplication, right?
Did you pull whatever is there today and all that?
when i opened your project, the java was listed as jdk_1.7 I did not have that jdk so I had to link in what I have jdk 1.8.0_144
I’m cc’ing Robert here who’s great with configuration, I run the app using the right click wonder app options not the build file myself
My build.xml for the app looks normal and ends with
<target name="all" depends="clean, build, install, web" />
The build.xml for the frameworks looks normal and far more complex and begins with
<project name="BootstrapModernLook" default="build" basedir=".">
I do see that perhaps because I have peculiar JAVA settings that there may be JAVA issues, and come to think of it, criss-crossed JAVA versions can cause normal classes like the Application class not to build…
I bet you might see detail in your backtrace about classes loading. I’m going to say this is something to do with your build-settings and specifically the JAVA version numbers being used
Seems to me the framework might be 1.7 and my app is perhaps 1.8 or SE7 and SE8
I could have checked in a mismatch that perhaps needs adjusting? Robert?
Post by Francois BIENTZ
Yes I’m able to run other Wonder Apps
For the BootstrapModernLook Framework it works now (ant needs a Library in folder in the Eclipse project ) I right clicked on build.xml — WOLips ant tools — install
What did you put in this Library directory ?
Then for the App I tried to use ant too (right click on build.xml), but I obtain : Build failed : Error reading project file /Users/franc/Build/build/build.xml: /Users/franc/Build/build/build.xml
such directory don’t exist on my home. (but the build.xml of the App don’t look like the xml file in other Wonder Apps projects )
I have to search more what can be wrong on my environment
Thank you Jesse
Post by Jesse Tayler
I’m not certain why you’d get that —
Let’s see, sounds like perhaps it hasn’t got ERXApplication or there is some class path trouble.
I presume you are able to run other Wonder stuff ok?
I right-click on ant build.xml and select Run to install the framework
Then I do the same with the Application class of the app and either run or debug as WOApplication which sounds like what you are doing.
I just checked in whatever I might have to be sure I have left the build ok, it seems ok from here.
You might just pull and make clean / install or check that wonder paths are ok in build path?
I’m terrible with Eclipse!!
Post by Francois BIENTZ
Most of the basics are now working, but this is still early construction please let me know if you’re able to get things to build and run…it’s really helpful to get reports at this juncture, so thanks!
I imported BootstrapModernLook and UltraModernMoviesDemo in Eclipse but I get : can’t find or load the main class er.modern.movies.demo.Application (Run As — WOApplication )
is there another tool to use ?
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narki
Loading...