Re: Maven D2W help

2025-09-06 Thread Ramsey Gurley via Webobjects-dev
Hi Ted, I put together a little example for you. https://github.com/nullterminated/modern-look-d2w-example  It has 3 commits. The first commit is just a basic woapp generated using my woapp archetype https://github.com/nullterminated/woarchetypes The second adds everything you need to conve

Maven D2W help

2025-09-02 Thread Theodore Petrosky via Webobjects-dev
Is there anyone that can help me? I need to create a new D2W app with the Modern framework. The erxapplication-d2w-archetype does not do it. I could really use some help. Ted 917 371 6080 ___ Do not post admin requests to the list. They will be ignored

Re: Multi-module maven release plugin

2025-08-17 Thread Aaron Rosenzweig via Webobjects-dev
Hi Ramsey, You’re right, using the multi-module-maven-release-plugin instead of the maven-release-plugin is a better fit. “multi-module” here means “multiple WO Frameworks” Seems like a good idea. > On Aug 16, 2025, at 3:08 PM, Ramsey Gurley via Webobjects-dev > wrote: > >

Multi-module maven release plugin

2025-08-16 Thread Ramsey Gurley via Webobjects-dev
Does anyone use or have opinions on this plugin? http://danielflower.github.io/multi-module-maven-release-plugin/index.html I'm mulling over how to get wonder frameworks onto maven central and this seems like it may be a good solution for us. R

Re: JDBC and Maven

2025-02-10 Thread Theodore Petrosky via Webobjects-dev
these problems. I will keep my eyes >> open for any of these updates… >> >> >> >>> On Feb 9, 2025, at 6:09 AM, Ramsey Gurley >>> <mailto:ramseygur...@gmail.com> wrote: >>> >>> I downloaded and tried to File ->Import ->M

Re: JDBC and Maven

2025-02-09 Thread Ramsey Gurley via Webobjects-dev
ed to File ->Import ->Maven->Maven Project on your FW and app and both sent eclipse into an infinite loop of dialogs. I had to force quit eclipse twice just to see the imported folders. ___ Do not post admin requests to the list. They will be igno

Re: JDBC and Maven

2025-02-09 Thread Theodore Petrosky via Webobjects-dev
Thank you for taking the time to look at these problems. I will keep my eyes open for any of these updates… > On Feb 9, 2025, at 6:09 AM, Ramsey Gurley wrote: > > I downloaded and tried to File ->Import ->Maven->Maven Project on your FW > and app and both sent eclipse

Re: JDBC and Maven

2025-02-09 Thread Ramsey Gurley via Webobjects-dev
The fake maven nature is comically bad at this point. I downloaded and tried to File ->Import ->Maven->Maven Project on your FW and app and both sent eclipse into an infinite loop of dialogs. I had to force quit eclipse twice just to see the imported folders. I'm rewritin

Re: JDBC and Maven

2025-02-06 Thread Theodore Petrosky via Webobjects-dev
A link to my project and framework: http://ftp.agencysacks.com/_pjSEh3WxrVst_R > On Feb 5, 2025, at 7:45 PM, Ramsey Gurley wrote: > > Current ERExtensions should include ERFoundation/ERWebObjects for you. Try > toggling Generate Bundles off and see if it works. With it on, you're going > to g

Re: JDBC and Maven

2025-02-05 Thread Ramsey Gurley via Webobjects-dev
ndles checked or unchecked? Also, in your maven dependency hierarchy, do you see ERFoundation and ERWebObjects? On 2/6/25 5:41 AM, Theodore Petrosky wrote: org.maven.ide.eclipse.maven2Nature ___ Do not post admin requests to the list. They will

Re: JDBC and Maven

2025-02-05 Thread Theodore Petrosky via Webobjects-dev
sey Gurley wrote: > > I think this is the fake one. Which means src/main/resources should be the > proper place. In your Prefereces -> WOLips -> Builds, do you see Generate > Bundles checked or unchecked? Also, in your maven dependency hierarchy, do > you see ERFoundation a

Re: JDBC and Maven

2025-02-05 Thread Ramsey Gurley via Webobjects-dev
I think this is the fake one. Which means src/main/resources should be the proper place. In your Prefereces -> WOLips -> Builds, do you see Generate Bundles checked or unchecked? Also, in your maven dependency hierarchy, do you see ERFoundation and ERWebObjects? On 2/6/25 5:41 AM, Th

Re: JDBC and Maven

2025-02-05 Thread Theodore Petrosky via Webobjects-dev
dev > wrote: > > This I don’t see: > If you put it in src/main/resources, but did not include the fake maven > nature in your .project, it won't be found. If you are using fluffy bunny > layout where it is in Resource/ and you DO have the fake maven nature in > .pr

Re: JDBC and Maven

2025-02-03 Thread Ramsey Gurley via Webobjects-dev
ut did not include the fake maven nature in your .project, it won't be found. If you are using fluffy bunny layout where it is in Resource/ and you DO have the fake maven nature in .project, it also won't be found. MY user.d2wmodel lives at  src/main/resources What is a .projec

Re: JDBC and Maven

2025-02-02 Thread Theodore Petrosky via Webobjects-dev
This I don’t see: If you put it in src/main/resources, but did not include the fake maven nature in your .project, it won't be found. If you are using fluffy bunny layout where it is in Resource/ and you DO have the fake maven nature in .project, it also won't be found. MY user.d2wm

Re: JDBC and Maven

2025-01-29 Thread Ramsey Gurley via Webobjects-dev
rectory isn't being included properly in your build. If you put it in src/main/resources, but did not include the fake maven nature in your .project, it won't be found. If you are using fluffy bunny layout where it is in Resource/ and you DO have the fake maven nature in .project, it also

Re: JDBC and Maven

2025-01-28 Thread Theodore Petrosky via Webobjects-dev
of adding the dependency to your POM. Eyeballing the source, I assume > you need to add this to your POM: > > > wonder.d2w > ERModernLook > 7.4 > > > When using Maven, the answer to any question of the form "How do I use Foo in > my project?" is goin

Re: JDBC and Maven

2025-01-28 Thread Paul Hoadley via Webobjects-dev
er of adding the dependency to your POM. Eyeballing the source, I assume you need to add this to your POM: wonder.d2w ERModernLook 7.4 When using Maven, the answer to any question of the form "How do I use Foo in my project?" is going to be "Add Foo as a dependency in your

Re: JDBC and Maven

2025-01-27 Thread Paul Hoadley via Webobjects-dev
Hi Ted, On 28 Jan 2025, at 14:31, Theodore Petrosky wrote: > But it looks like I need both, no? Yep. > That straightens out the JDBC jar and the PostgresqlPlugIn > > Where do you put stuff like the eomodeld file src/main/resources > and the migrations folder and the model folder. src/main/

Re: JDBC and Maven

2025-01-27 Thread Theodore Petrosky via Webobjects-dev
This is finally making sense… thank you… so I went to the JDBC.postgresql.com <http://jdbc.postgresql.com/> site and it gives: org.postgresql postgresql 42.7.5 As the maven dependency but you are sugg

Re: JDBC and Maven

2025-01-27 Thread Paul Hoadley via Webobjects-dev
Hi Ted, On 26 Jan 2025, at 06:16, Theodore Petrosky via Webobjects-dev wrote: > Ok so I can create new Maven based apps. I can download the postgres JDBC > driver or the maven text: > > >org.postgresql >postgresql >

Re: JDBC and Maven

2025-01-27 Thread Paul Hoadley via Webobjects-dev
Hi Ted, On 28 Jan 2025, at 01:04, Theodore Petrosky via Webobjects-dev wrote: > OK, so help me out with setting up the GAV for this framework. I have a > workspace with a project called MyApp. I have a framework in this workspace > called MuApp_FW. I don't understand what to put in the pom. T

Re: JDBC and Maven

2025-01-27 Thread Theodore Petrosky via Webobjects-dev
y Gurley wrote: > > Hi Ted, > > You should not need a Libraries folder with maven, since maven manages all > that for you. If you open the pom.xml in Eclipse, you can switch the tab on > bottom from source to dependency hierarchy and you should see your driver jar > listed in t

Re: JDBC and Maven

2025-01-26 Thread Ramsey Gurley via Webobjects-dev
Hi Ted, You should not need a Libraries folder with maven, since maven manages all that for you. If you open the pom.xml in Eclipse, you can switch the tab on bottom from source to dependency hierarchy and you should see your driver jar listed in there. To add a framework, you do it the

JDBC and Maven

2025-01-25 Thread Theodore Petrosky via Webobjects-dev
Ok so I can create new Maven based apps. I can download the postgres JDBC driver or the maven text: org.postgresql postgresql 42.7.5 I tried putting the postgresql-42.7.5.jar in /Libraries but my app still does

Re: wolifecycle-maven-plugin is now on maven central

2025-01-20 Thread Ramsey Gurley via Webobjects-dev
usted, because they haven't seen maintenance in over 10 years. So I'm rewriting them. (also because they block me from putting wonder on central) Maven has pretty good documentation https://maven.apache.org/ With regard to WebObjects, everything you really need to know is hidden in the

Re: wolifecycle-maven-plugin is now on maven central

2025-01-20 Thread Ricardo Parada via Webobjects-dev
: Hi Ramsey, Is this a fluffy bunny layout with maven? Yes, it is. Basically all my maven projects continue using fluffy bunny because ERWebObjects essentially bit rotted. It's something of a happy accident. We have so many frameworks and

Re: wolifecycle-maven-plugin is now on maven central

2025-01-18 Thread Ramsey Gurley via Webobjects-dev
On 1/19/25 1:37 PM, Ricardo Parada wrote: Hi Ramsey, Is this a fluffy bunny layout with maven? Yes, it is. Basically all my maven projects continue using fluffy bunny because ERWebObjects essentially bit rotted. It's something of a happy accident. We have so many frameworks and

Re: wolifecycle-maven-plugin is now on maven central

2025-01-18 Thread Ricardo Parada via Webobjects-dev
Hi Ramsey, Is this a fluffy bunny layout with maven? We have so many frameworks and apps using fluffy bunny and it’s probably one of the reasons (I think) we are still using ant to build things because I thought we had to change the layout. Please let me know. Also, I would like to see the

Re: wolifecycle-maven-plugin is now on maven central.

2025-01-04 Thread Francois BIENTZ via Webobjects-dev
2025, at 8:32 pm, Ramsey Gurley via Webobjects-dev >> wrote: >> > >> It is now possible to build a simple woapp without fiddling with maven >> settings at all. I'm happy to announce that wolifecycle-maven-plugin is now >> on maven central and you can build

Re: wolifecycle-maven-plugin is now on maven central

2025-01-04 Thread Paul Hoadley via Webobjects-dev
Hi Ramsey, On 4 Jan 2025, at 8:32 pm, Ramsey Gurley via Webobjects-dev wrote: > It is now possible to build a simple woapp without fiddling with maven > settings at all. I'm happy to announce that wolifecycle-maven-plugin is now > on maven central and you can build and run a ba

Re: wolifecycle-maven-plugin is now on maven central

2025-01-04 Thread Ramsey Gurley via Webobjects-dev
By the way, I do not want to snub anyone. If you feel your name belongs in the list of developers for this plugin, let me know. Maven central requires the list of developers so I put down who I think are currently active developers on this project. If you feel you belong on this list as well

wolifecycle-maven-plugin is now on maven central

2025-01-04 Thread Ramsey Gurley via Webobjects-dev
It is now possible to build a simple woapp without fiddling with maven settings at all. I'm happy to announce that wolifecycle-maven-plugin is now on maven central and you can build and run a basic WebObjects application without fiddling with any maven settings at all. As a demonstrati

Re: New: woinstall-maven-plugin

2024-12-15 Thread Samuel Pelletier via Webobjects-dev
org.apache.maven.plugins > > maven-compiler-plugin > > 3.8.1 > > > > 21 > > 21 > > > > --add-exports &

Re: New: woinstall-maven-plugin

2024-12-14 Thread Ramsey Gurley via Webobjects-dev
Add something like this in the plugins section of your pom file. You probably want to make sure your wolifecycle plugin is using the latest version too (2.5).     org.apache.maven.plugins maven-compiler-plugin     3.8.1         21

Re: New: woinstall-maven-plugin

2024-12-14 Thread Theodore Petrosky via Webobjects-dev
Application.java:12) APPLICATION SHUTDOWN SEQUENCE COMPLETE > On Dec 11, 2024, at 2:24 AM, Ramsey Gurley wrote: > > In order to use the wocommunity archetypes, you need to edit your > ~/.m2/settings.xml and add the wocommunity repo before they'll work. > > You can follow t

Re: New: woinstall-maven-plugin

2024-12-10 Thread Ramsey Gurley via Webobjects-dev
In order to use the wocommunity archetypes, you need to edit your ~/.m2/settings.xml and add the wocommunity repo before they'll work. You can follow the instructions here, https://github.com/wocommunity/webobjects-maven-archetypes I'm going to try them out myself, I haven't

Re: New: woinstall-maven-plugin

2024-12-10 Thread Theodore Petrosky via Webobjects-dev
a -version java version "21.0.5" 2024-10-15 LTS Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239) Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing) Maven mvn -version

New: woinstall-maven-plugin

2024-12-10 Thread Ramsey Gurley via Webobjects-dev
Hello everyone, If the wobootstrap-maven-plugin and the WOInstall.jar got married and had a baby, it would be the woinstall-maven-plugin. I'm pleased to inform you that installing webobjects is now as easy as pasting the following into your terminal, mvn io.github.wocommunity:woin

Re: Maven Help

2024-08-27 Thread Paul Hoadley via Webobjects-dev
wrote: >> >> With Hugi’s help, I finally have the ability to create new WO/Wonder >> projects in Eclipse. Please can Ramsey be given permissions to update the >> Maven templates to create D2W and Frameworks? I have always put my database >> connections in its own Fra

Re: Maven Help

2024-08-27 Thread Theodore Petrosky via Webobjects-dev
rosky via Webobjects-dev > mailto:webobjects-dev@lists.apple.com>> > wrote: > > With Hugi’s help, I finally have the ability to create new WO/Wonder projects > in Eclipse. Please can Ramsey be given permissions to update the Maven > templates to create D2W and Frameworks? I have

Re: Maven Help

2024-08-17 Thread Jesse Tayler via Webobjects-dev
woot. > On Aug 17, 2024, at 12:36 PM, Theodore Petrosky via Webobjects-dev > wrote: > > With Hugi’s help, I finally have the ability to create new WO/Wonder projects > in Eclipse. Please can Ramsey be given permissions to update the Maven > templates to create D2W and

Maven Help

2024-08-17 Thread Theodore Petrosky via Webobjects-dev
With Hugi’s help, I finally have the ability to create new WO/Wonder projects in Eclipse. Please can Ramsey be given permissions to update the Maven templates to create D2W and Frameworks? I have always put my database connections in its own Framework. I know he (Ramsey) has mentioned that he

Re: Advisory: Eclipse bundless builds + maven = no está bien

2024-07-30 Thread Paul Hoadley via Webobjects-dev
On 31 Jul 2024, at 01:11, Aaron Rosenzweig via Webobjects-dev wrote: > Turns out, now with Maven, you cannot use bundless builds! If you do, you > won't see any errors/problems (no red) in Eclipse but you'll get runtime > errors when you launch. Most notable is a null mai

Re: Advisory: Eclipse bundless builds + maven = no está bien

2024-07-30 Thread Ramsey Gurley via Webobjects-dev
I wasn't online yesterday, so maybe I'm too late to help here, but... I have a maven archetype (project template) for a webobjects application posted here, https://github.com/nullterminated/woarchetypes (I actually planned to make one for d2w and frameworks too, but I haven't g

Advisory: Eclipse bundless builds + maven = no está bien

2024-07-30 Thread Aaron Rosenzweig via Webobjects-dev
Do you know there is a concept of “bundless builds” ? It works with ANT but not with Maven. If you try to use bundless builds with Maven you’ll get runtime errors when launching via Eclipse related to “null” for "NSProperties._mainBundleName()” I've been using Eclipse bundless bu

Summary: modern maven requires secure HTTPS

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
I haven’t figured out all my ant -> maven conversion issues but wanted to summarize one finding. Newer maven installations require HTTPS (with an “S” for “secure”) for your connections to things such as the wocommunity repos. It wasn’t always this way and following community tutorials

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi Markus, I'm still getting a similar error when I do "mvn build" from terminal -> [ERROR] Unresolveable build extension: Plugin org.wocommunity:wolifecycle-maven-plugin:2.6-SNAPSHOT or one of its dependencies could not be resolved I'm referring to the 2.6-SNAPSHO

Re: Maven build - no main bundle name

2024-07-29 Thread Markus Stoll, junidas GmbH via Webobjects-dev
as its a snapshot, its here https://maven.wocommunity.org/content/repositories/snapshots/org/wocommunity/wolifecycle-maven-plugin/2.6-SNAPSHOT/ 2.6 has some small but important changes (at least to me) Markus > Am 29.07.2024 um 18:47 schrieb Aaron Rosenzweig : > > Hi Markus, >

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi Markus, The latest I see is 2.5 for the lifecycle plugin here: https://mvnrepository.com/artifact/org.wocommunity/wolifecycle-maven-plugin <https://mvnrepository.com/artifact/org.wocommunity/wolifecycle-maven-plugin> Where is 2.6? > On Jul 29, 2024, at 12:45 PM, Aaron Rosenzwe

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Markus, I was using this to refer to the plugin: org.wocommunity wolifecycle-maven-plugin 2.5 true true I’ll try 2.6-SNAPSHOT :-) > On Jul 29, 2024, at 12:17 PM, Markus Stoll, junidas GmbH > wrote: > > yo

Re: Maven build - no main bundle name

2024-07-29 Thread Markus Stoll, junidas GmbH via Webobjects-dev
you should use version 2.6-SNAPSHOT for wolifecycle-maven-plugin, which is the current one and do you refer to the wocommunity repository for obtaining the plugin? I strongly suggest to first fix the maven standalone build. Once this is building and running, do a new import as maven project

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Inside the WO app’s folder from terminal I tried: mvn build It says: Unresolveable build extension: Plugin org.wocommunity:wolifecycle-maven-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.wocommunity:wolifecycle-maven-plugin:jar:2.5

Re: Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi Markus thanks for the quick reply! Good question, I don’t know. I haven’t run from command line, hadn’t done it with Ant and also haven’t tried it with Maven. It’s an interesting idea to try if I can figure it out. Maybe it will show a difference that leads to discovery. > On Jul 29, 2

Re: Maven build - no main bundle name

2024-07-29 Thread Markus Stoll, junidas GmbH via Webobjects-dev
Hi Aaron, I did the very thing just recently without any problems does the maven build run outside eclipse (standalone)? So does the problem occur only when started from eclipse? Regards Markus > Am 29.07.2024 um 17:49 schrieb Aaron Rosenzweig via Webobjects-dev > : > > Hi, >

Maven build - no main bundle name

2024-07-29 Thread Aaron Rosenzweig via Webobjects-dev
Hi, I’m trying to convert an ANT based webobjects application into a Maven build. At the moment It’s building in Eclipse without errors but when I try to launch within the Eclipse environment I get errors due to not finding the main bundle. Specifically the following call inside of

Re: Debug frameworks with maven project

2024-04-27 Thread Hugi Thordarson via Webobjects-dev
with linking between projects is that for a long time I've been running my WO applications as plain java applications, not as WOApplications. The reason I did this initially is that WOApplication launch configurations generate a totally botched class path for maven projects, as described he

Re: Debug frameworks with maven project

2024-04-15 Thread Hugi Thordarson via Webobjects-dev
I don't think I've ever had to attach sources of maven projects manually in Eclipse (although I recall hitting something like this in a far past). And given the second problem, it kind of sounds like the link between the app project and the libraries/frameworks is completely broke

Re: Debug frameworks with maven project

2024-04-15 Thread Paul Hoadley via Webobjects-dev
Hi Samuel, On 11 Apr 2024, at 03:45, Samuel Pelletier via Webobjects-dev wrote: > I created a new workspace with the latest Eclipse to migrate my project to > maven. My projects run and I can debug the application code (set breakpoint, > click on exception stack trace to open proje

Re: Debug frameworks with maven project

2024-04-10 Thread Paul Hoadley via Webobjects-dev
Hi Samuel, On 11 Apr 2024, at 3:45 am, Samuel Pelletier via Webobjects-dev wrote: > I created a new workspace with the latest Eclipse to migrate my project to > maven. My projects run and I can debug the application code (set breakpoint, > click on exception stack trace to ope

Debug frameworks with maven project

2024-04-10 Thread Samuel Pelletier via Webobjects-dev
Hi, I created a new workspace with the latest Eclipse to migrate my project to maven. My projects run and I can debug the application code (set breakpoint, click on exception stack trace to open project source) but all debug functions are not working for frameworks. I set breakpoint in code

Re: wolifecycle-maven-plugin configuration options

2024-04-06 Thread D Tim Cummings via Webobjects-dev
-dev wrote: Hi, My journey to Maven is going well, I ported 2 shared frameworks I use on every projects and my first app. There is many subtle details to go pass a "Hello world !" app. My last discovery is a problem with component template in sub directory that are not found wh

wolifecycle-maven-plugin configuration options

2024-04-06 Thread Samuel Pelletier via Webobjects-dev
Hi, My journey to Maven is going well, I ported 2 shared frameworks I use on every projects and my first app. There is many subtle details to go pass a "Hello world !" app. My last discovery is a problem with component template in sub directory that are not found when deployed. I

Using Git Hub as private CI/CD and Maven repository

2024-04-02 Thread Samuel Pelletier via Webobjects-dev
Hi, With the maven switch, I understand it is now easier to setup CI/CD and it is also much nicer to have a Maven private repository for internal frameworks and apps. I see that Git Hub now have Actions and Packages that could provide those services even for private repo in free tier. Are

Re: Maven follow up

2024-04-01 Thread Paul Hoadley via Webobjects-dev
Hi Samuel, On 2 Apr 2024, at 08:23, Samuel Pelletier via Webobjects-dev wrote: > Why Eclipse always complain about missing nature, the maven stuff is already > there and working, I always click cancel but the prompt comes back from time > to time. Is there a way to get rid of t

Re: Maven follow up

2024-04-01 Thread D Tim Cummings via Webobjects-dev
Hi Samuel I suspect it takes a while for eclipse to download the index before searching will work. I have heard it can be about 6GB. To build and deploy the app I link my maven to an ant build script. Then I can install with a command like "mvn clean package -Dinstall_opt

Re: Maven follow up

2024-04-01 Thread Samuel Pelletier via Webobjects-dev
h about eclipse plugin development to program > this. > > I don't use search in maven pom editor myself but does this option help > "Download repository index updates on startup"? > > > > > > I haven't used maven with my own frameworks so can&#

Re: Maven follow up

2024-04-01 Thread D Tim Cummings via Webobjects-dev
referencing this nature. Unfortunately I don't know enough about eclipse plugin development to program this. I don't use search in maven pom editor myself but does this option help "Download repository index updates on startup"? I haven't used maven with my own frameworks so c

Maven follow up

2024-04-01 Thread Samuel Pelletier via Webobjects-dev
Hi all, Sorry for long time since last message, my maven switch had to be postponed. I manages to set up the basic and create a frameworks and an app. I have few questions with my current setup. Why Eclipse always complain about missing nature, the maven stuff is already there and working

Zoom session on Maven????

2024-01-18 Thread Theodore Petrosky via Webobjects-dev
there was interest in some sort of a zoom session on working with maven. is there any continued interest? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help

Re: Maven "Quick Start" [was: Re: Meetup maybe? Or call me maybe?]

2023-12-25 Thread Theodore Petrosky via Webobjects-dev
>> Hugi and I will fix the documentation on the Wiki. Going from zero to Hello >> World should take anyone about 10 minutes (modulo some artefact download >> time). Converting an existing project might take 20 minutes. > > I've just updated the Maven "Quick Start&quo

Maven "Quick Start" [was: Re: Meetup maybe? Or call me maybe?]

2023-12-25 Thread Paul Hoadley via Webobjects-dev
I've just updated the Maven "Quick Start" page here: https://wiki.wocommunity.org/xwiki/bin/view/WOL/Home/WOProject-Maven/Quick%20Start/ <https://wiki.wocommunity.org/xwiki/bin/view/WOL/Home/WOProject-Maven/Quick%20Start/> It's a re-write from scratch: some of the existin

Re: From ANT to Maven

2023-06-07 Thread Paul Hoadley via Webobjects-dev
On 7 Jun 2023, at 11:46 pm, Jens Schulze via Webobjects-dev wrote: > So for everybody that wishes to try maven on WO; have a look at the sample > projects. Nice one! -- Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic

From ANT to Maven

2023-06-07 Thread Jens Schulze via Webobjects-dev
I have tried to move my apps from ANT to MAVEN and created some sample projects on GitHub that others do not make the same mistakes that I did. As always on this list; I got help. Without out and due to lack of documentation I would not have come so far. So for everybody that wishes to try

Re: Problem with maven build

2022-07-13 Thread Markus Stoll, junidas GmbH via Webobjects-dev
never mind, I think I found the bug in wolifecycle-maven-plugin I created a pull request Regards Markus PS: now the real work with these dependencies can start, it's not yet properly working this way either > Am 13.07.2022 um 10:52 schrieb Markus Stoll, junidas GmbH via Webobj

Problem with maven build

2022-07-13 Thread Markus Stoll, junidas GmbH via Webobjects-dev
HI, I try to prepare migrating to Java 11 and for doing that I need the change the dependency for the wonder ERJaxWS framework. Basically javax.xml jaxb-impl com.sun.xml.ws

Re: Maven and Wonder

2020-09-16 Thread Hugi Thordarson via Webobjects-dev
Nice! > On 16 Sep 2020, at 05:03, Paul Hoadley wrote: > > Just for the archives... > > On 6 Feb 2019, at 04:53, Hugi Thordarson > wrote: > >> Regarding (1), you probably need to include JarResourceRequestHandler >> ((https://gist.github.com/hprange/1068523 >>

Re: Maven and Wonder

2020-09-15 Thread Paul Hoadley via Webobjects-dev
Just for the archives... On 6 Feb 2019, at 04:53, Hugi Thordarson wrote: > Regarding (1), you probably need to include JarResourceRequestHandler > ((https://gist.github.com/hprange/1068523 > ) in your project and activate it in > your Application const

Re: Maven build - webserver resources in frameworks

2020-03-05 Thread Paul Hoadley via Webobjects-dev
Hi Steven, On 6 Mar 2020, at 02:14, Steven Meyer via Webobjects-dev wrote: > The wolifecycle-maven-plugin doesn’t seem to do that, so the web server > resources portion of the split artifact looks like this > > MyApp.woa > Contents >

Re: Maven build - webserver resources in frameworks

2020-03-05 Thread Dennis Scheffer via Webobjects-dev
Hi, I have to admit that I do not fully understand why you would need to do this but you can just inject a Maven plugin into your build process. A suitable lifecycle phase that runs before packaging would be process-classes. Add this below your wolifecycle plugin declaration: maven

Maven build - webserver resources in frameworks

2020-03-05 Thread Steven Meyer via Webobjects-dev
Greetings, I’m in the middle of converting a group of fairly ancient applications from Ant builds to Maven. The process has been remarkably smooth, but I’m caught on the issue referenced in the subject. Our existing ant builds result in the following structure in the web server resources

Re: Maven Unit tests with EOF

2020-02-12 Thread Paul Hoadley via Webobjects-dev
Hi Aaron, On 13 Feb 2020, at 14:14, Aaron Rosenzweig wrote: > If I understand you right you are using the surefire plugin but setting the > nature for Maven to find the files? That’s a neat way to do it. They're basically unrelated, they just happen to intersect here. When unit te

Re: Maven Unit tests with EOF

2020-02-12 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Paul, That’s an insightful reply! If I understand you right you are using the surefire plugin but setting the nature for Maven to find the files? That’s a neat way to do it. I think that nature was there for people who wanted to build with Maven inside of eclipse, but you can use it

Re: Maven Unit tests with EOF

2020-02-12 Thread Paul Hoadley via Webobjects-dev
Hi Aaron, I don't know whether you went on to solve your problem here, but I've just spent a few hours of my life that I'll never get back debugging something similar. I had just built a new framework from scratch, and WOUnit testing under maven-surefire-plugin failed, with WOU

Re: More recent PRs for wolifecycle-maven-plugin

2020-02-10 Thread Paul Hoadley via Webobjects-dev
"testing changes in wolifecycle-maven-plugin from bed with pneumonia" is the definition of "beyond the call". > So I can at least confirm that the changes don't seem to break anything > (well, for me at least). Thanks for doing this :). Thanks for testing it! Obvi

Re: More recent PRs for wolifecycle-maven-plugin

2020-02-10 Thread Hugi Thordarson via Webobjects-dev
#4 is quite uncontroversial, > and #3 certainly works for me and presumably Ralf. > >> On 6 Feb 2020, at 11:41, Paul Hoadley via Webobjects-dev >> mailto:webobjects-dev@lists.apple.com>> >> wrote: >> >> Hello, >> >> In addition to

Re: More recent PRs for wolifecycle-maven-plugin

2020-02-09 Thread Paul Hoadley via Webobjects-dev
> Hello, > > In addition to Ralf's work here: > > * https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3 > <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3> > > I've added a couple of additional PRs: > > * https://github.co

More recent PRs for wolifecycle-maven-plugin

2020-02-05 Thread Paul Hoadley via Webobjects-dev
Hello, In addition to Ralf's work here: * https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3 <https://github.com/wocommunity/wolifecycle-maven-plugin/pull/3> I've added a couple of additional PRs: * https://github.com/wocommunity/wolifecycle-maven-plugi

wolifecycle-maven-plugin: Flatten component support

2020-02-04 Thread Paul Hoadley via Webobjects-dev
Hello, I've just tried out Ralf's PR here: works as advertised. Have any other Maven fans tried this out? Henrique? Hugi? I'd be keen to merge this PR, but it would also be good to get some additional eyes on it. > Begin forwarded message: > > From: Ralf Schuchardt

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
Thanks Chuck, Maven likes to swallow things but I put the flags to not trim stack traces and to divert standard out but I haven’t gotten anything additional. I still might have missed a flag. I thought maybe I could add some logger statements into the WOnder version of NSBundle that replaces

Re: Maven Unit tests with EOF

2020-01-23 Thread Chuck Hill via Webobjects-dev
without >>>> selenium and you can do something like this if your want selenium tests to >>>> be run: 'mvn clean verify -P with-selenium'. There are a bunch of ways to >>>> configure profiles to do something like that. >>>> >>>

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
s://maven.apache.org/guides/introduction/introduction-to-profiles.html >>>>> >>>>> <https://maven.apache.org/guides/introduction/introduction-to-profiles.html>). >>>>> Then you can fire failsafe every time you check in new code without >>

Re: Maven Unit tests with EOF

2020-01-23 Thread Jesse Tayler via Webobjects-dev
nium and you can do something like this if your want selenium tests to >>>> be run: 'mvn clean verify -P with-selenium'. There are a bunch of ways to >>>> configure profiles to do something like that. >>>> >>>> -- >>>> Dennis &

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
bunch of ways to >>> configure profiles to do something like that. >>> >>> -- >>> Dennis >>> >>>> On 23. Jan 2020, at 15:39, Aaron Rosenzweig >>> <mailto:aa...@chatnbike.com>> wrote: >>>> >>>> D

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
>>> On 23. Jan 2020, at 15:39, Aaron Rosenzweig >> <mailto:aa...@chatnbike.com>> wrote: >>> >>> Dennis that is a good point, >>> >>> At the moment I have not cleaned and the product is there but it’s not >>> working but your po

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
the product is there but it’s not >> working but your point is still well taken. In Jenkins, in the cloud, it >> will do a clean and I really should be doing a clean every time so the >> product won’t be there to test with… there won’t be a bundle. >> >> Maven

Re: Maven Unit tests with EOF

2020-01-23 Thread Dennis Scheffer via Webobjects-dev
, > > At the moment I have not cleaned and the product is there but it’s not > working but your point is still well taken. In Jenkins, in the cloud, it will > do a clean and I really should be doing a clean every time so the product > won’t be there to test with… there won’t be

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
Hey everybody, I noticed that “NSBundle.java” is defined in ERFoundation and also JavaFoundation… It appears we aren’t using ERXPatcher to replace it and that might not even be an option… so you have to have ERFoundation loaded first for it to override. I do have it that way and Maven is

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
be a bundle. Maven “Failsafe” makes sense for selenium… which is technically a JUnit test too but it’s very heavy and flexes the UI of a bundled and launched app. Cloning a “company” EO and testing unique constraints in SQL - is heavier than testing an “isCamelCase()” function but lighter than

Re: Maven Unit tests with EOF

2020-01-22 Thread Dennis Scheffer via Webobjects-dev
Hi everyone, > // That's the main bundle when running tests from Eclipse > Path mainBundlePath = Paths.get("build/your-project.woa"); > > if (Files.notExists(mainBundlePath)) { > // Maven doesn't create a build directory. The WOA bundle goes into the > ta

  1   2   3   4   5   6   7   8   >