Re: [Proposal] Drop Wonder's Ant Build
Re: [Proposal] Drop Wonder's Ant Build
- Subject: Re: [Proposal] Drop Wonder's Ant Build
- From: D Tim Cummings via Webobjects-dev <email@hidden>
- Date: Sat, 30 Jul 2022 15:40:10 +1000
Thanks Hugi
That worked.
Maven didn't copy the built frameworks into
/Library/WebObjects/Local/Library/Frameworks like the ant install used
to (sudo ant -Duser.home=$HOME frameworks.install). But my apps are
maven now so they don't need that except for when I was eogenerating. I
changed default.eogen to point to the built framework in the source code
refmodel
../wonder/Frameworks/Core/ERPrototypes/target/ERPrototypes.framework/Resources/erprototypes.eomodeld
\
and eogenerate worked.
In fact I could have just pointed to the model without building
refmodel
../wonder/Frameworks/Core/ERPrototypes/Resources/erprototypes.eomodeld \
Cheers
Tim
On 29/7/22 22:05, Hugi Thordarson wrote:
Hi Tim,
currently the easiest way to build Wonder on JDK 17 is to comment out
ERProfiling and ERXiss in Frameworks/Misc/pom.xml (given that you
don't use those two).
Time to revisit this, I guess…
https://github.com/wocommunity/wonder/pull/944
Cheers,
- hugi
On 29 Jul 2022, at 00:19, D Tim Cummings via Webobjects-dev
<email@hidden> wrote:
FYI, these URLs have changed to the following
https://gist.github.com/hugithordarson/3c269a3196d0c4f2da486f1109c16d42
https://gist.github.com/hugithordarson/d2ba6da9e4942f4ece95d7a721159cd1
And by the way, how do I build wonder with maven? I need the
frameworks built so I can use eogenerate. I tried
cd Frameworks
mvn clean install
I get
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
(default-compile) on project ERProfiling: Compilation failure:
Compilation failure:
[ERROR]
/home/tim/git/wonder/Frameworks/Misc/ERProfiling/Sources/er/profiling/classloader/WeavingClassLoader.java:[8,16]
cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package sun.misc
I am using Java 17 on Ubuntu 22.04
Thanks in advance
Tim
On 17/6/22 09:26, Hugi Thordarson via Webobjects-dev wrote:
Thanks for raising the issue Henrique! It probably comes as no
surprise that I support this :).
Ted; just to clarify, this proposal only applies to the building of
Wonder itself. Wonder's maven build generates artifacts/bundles that
can be consumed by Ant applications, so nothing changes in that
regard (and if you're using the builds from jenkins.wocommunity.org
<http://jenkins.wocommunity.org/>, you're already using the maven
built frameworks).
In other words, this won't affect you unless you're building Wonder
yourself (and if you are, that's very easy to do with maven).
That being said, if you still want to try out maven for your own
projects (which I do recommend) the maven wiki docs do indeed need
some work. Probably time to finally start working on that…
But we mavenistas tend to be helpful if you want to give it a go!
And until the docs get some lovin', here are a couple of documents
that can help you off the ground:
https://gist.github.com/hugith/d2ba6da9e4942f4ece95d7a721159cd1
https://gist.github.com/hugith/3c269a3196d0c4f2da486f1109c16d42
Cheers,
- hugi
On 16 Jun 2022, at 22:47, Theodore Petrosky via Webobjects-dev
<email@hidden> wrote:
What about us guys whose projects are smallish projects and never
instituted Maven...
Riddle me this.... how are the docs or examples on the Wiki to
implement Maven?
Can you point me to some good references so I can come on board?
Ted
On 6/16/22, 6:42 PM, "Henrique Prange via Webobjects-dev"
<email@hidden> wrote:
Hey guys,
I've been talking to other Wonder users/committers lately.
Keeping the Ant build configuration up to date in Wonder is
becoming increasingly counterproductive. Most of us have been using
Maven for years. As a result, our environments are not prepared to
build the project with Ant, making it hard to check if we broke
something after every change. For this reason, I'd like to propose
the removal of the Ant build configuration from project Wonder.
What do you think?
Cheers,
HP
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden