| Not sure if it will help you but try closing the project in eclipse and removing without deleting from file system.
From the command line remove build folder and target folder within the project.
Do same for all other projects.
Import all project as maven projects.
Make sure you have all dependencies. In your pom.xml
Those are some of the many things I have tried.
I must be dense but I cannot get this to work.
I get to the line "git mv WebServerResources src/main/webserver-resources" and it reports that the source cannot be empty. I even tried with putting a text file in the folder.
That is number one. But the resultant app will not run.
If I start a new D2W app, convert it from fluffy bunny to maven, leaving the structure alone, it works. There are a lot of ‘folders’ hanging around.
mkdir -p src/main
mkdir -p src/test/resources
git mv Components src/main/components
git mv Sources src/main/java
git mv Resources src/main/resources
git mv WebServerResources src/main/webserver-resources
git mv Tests src/test/java
Hi Theodore,
In a previous thread both Hugi and Paul provided a link to convert to maven layout.
Here is the one from Paul:
and here is the one from Hugi:
Sent from my iPhone On Oct 30, 2025, at 11:10 PM, Theodore Petrosky via Webobjects-dev <[email protected]> wrote:
I have finally succeeded in installing and using maven. I still have to complete the process and use maven to install my apps in my AWS container.That is for another day.
My method to create a new D2W modern app is to create a ‘normal’ D2W app and convert it to maven. It works great for apps and frameworks. except, the fluffy bunny layout. I guess I could just leave things the way they are. Everything works, but, I would like to move things into the maven layout.
Is there a pdf or a page on the wiki that explains this?
Ted
|
- New App layout Theodore Petrosky via Webobjects-dev
- Re: New App layout Theodore Petrosky via Webobjects-dev
- Re: New App layout Ricardo Parada via Webobjects-dev