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

Re: Maven Help

2024-08-27 Thread Paul Hoadley via Webobjects-dev
Hi Ted, On 28 Aug 2024, at 00:16, Theodore Petrosky via Webobjects-dev wrote: > I'm sorry I missed this what is this woot? > On 8/17/24, 6:19 PM, "Jesse Tayler via Webobjects-dev" > mailto:webobjects-dev@lists.apple.com>> > wrote: > > woot. I think the "woot" was just Jesse's expressi

Re: Maven Help

2024-08-27 Thread Theodore Petrosky via Webobjects-dev
I'm sorry I missed this what is this woot? Theodore Petrosky | IT/Finance Director AgencySacks On 8/17/24, 6:19 PM, "Jesse Tayler via Webobjects-dev" mailto:webobjects-dev@lists.apple.com>> wrote: woot. > On Aug 17, 2024, at 12:36 PM, Theodore Petrosky via Webobjects-dev > mailto:

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 Frameworks? I have alway

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-SNAPSHOT from the pom.xml file like

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, > > The latest

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 Where is 2.6? > On Jul 29, 2024, at 12:45 PM, Aaron Rosenzweig wrote: >

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: > > you should use

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 int

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: Th

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, 2024,

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, > > I’m trying t

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 this alert ? As

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_optiplex" MMddHH

Re: Maven follow up

2024-04-01 Thread Samuel Pelletier via Webobjects-dev
Tim, Thank for the reply. I tried the download index on startup but still no search. I do not understand the nature thing but found a preference in Eclipse that disable the annoying dialog : "Automatically detect missing natures and propose IDE extensions from Marketplace". Follow up on my com

Re: Maven follow up

2024-04-01 Thread D Tim Cummings via Webobjects-dev
Hi Samuel Apparently we need to have the nature org.maven.ide.eclipse.maven2Nature in our .project file because it is hard-coded in the original WebObjects. I think we should add into WOLips that it also needs this nature and then eclipse would stop complaining that no plugins are referencing

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

2023-12-25 Thread Theodore Petrosky via Webobjects-dev
Is the xWiki down? https://wiki.wocommunity.org/ I can’t get on! Ted > On Dec 25, 2023, at 03:30, Paul Hoadley via Webobjects-dev > wrote: > > On 25 Dec 2023, at 08:38, Paul Hoadley via Webobjects-dev > mailto:webobjects-dev@lists.apple.com>> > wrote: > >> Hugi and I will fix the document

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 > WebserverResources > >

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-ant

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 tests are run,

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 th

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 WOUnit complaining t

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
That error is definitely a static initializer or block throwing. Nothing else is output? > On Jan 23, 2020, at 8:41 AM, Aaron Rosenzweig via Webobjects-dev > wrote: > > I tried this call: > > NSBundle MYBUNDLE = NSBundle.mainBundle(); > > It fails immediately with: > java.lang.NoClassDefFo

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
Jesse you are correct. If you are compiling for one java version but running on another… you can get java.lang.NoClassDefFoundError - that’s because the object you used at compile time might not be available in that other runtime. While the error is the same, this feels different but your point

Re: Maven Unit tests with EOF

2020-01-23 Thread Jesse Tayler via Webobjects-dev
Isn’t that what you get with some java version mismatch ?? > On Jan 23, 2020, at 11:41 AM, Aaron Rosenzweig via Webobjects-dev > wrote: > > I tried this call: > > NSBundle MYBUNDLE = NSBundle.mainBundle(); > > It fails immediately with: > java.lang.NoClassDefFoundError: Could not initialize c

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
I tried this call: NSBundle MYBUNDLE = NSBundle.mainBundle(); It fails immediately with: java.lang.NoClassDefFoundError: Could not initialize class com.webobjects.foundation.NSBundle I’m suspecting it has to do with the static initializer of NSBundle. AARON ROSENZWEIG / Chat 'n Bike

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
Riddle me this… how can you get a class not defined error from the class itself? java.lang.NoClassDefFoundError: Could not initialize class com.webobjects.foundation.NSBundle at com.webobjects.foundation.NSBundle.mainBundle(NSBundle.java:526) You are already in NSBundle.mainBundle() and

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
Hi Dennis - I hadn’t thought of that - we could have a fast failsafe and then a slow one run at different times. Thanks! good idea. AARON ROSENZWEIG / Chat 'n Bike e: aa...@chatnbike.com t: (301) 956-2319 > On

Re: Maven Unit tests with EOF

2020-01-23 Thread Dennis Scheffer via Webobjects-dev
> Cloning a “company” EO and testing unique constraints in SQL - is heavier > than testing an “isCamelCase()” function but lighter than selenium. Maybe we > have to do it in failsafe but it feels closer to regular unit tests that > should fire every time there is a checkin to the repo. In other

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 doin

Re: Maven Unit tests with EOF

2020-01-23 Thread Aaron Rosenzweig via Webobjects-dev
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 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-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 > target folder instead. > mainBundlePath

Re: Maven Unit tests with EOF

2020-01-22 Thread Aaron Rosenzweig via Webobjects-dev
Markus, moin moin! Yes it’s been a long time :-) Thanks for the tip - I located the thread you mentioned where Hugi recommended "JarResourceRequestHandler()” - I think he might be onto something with respect to Jars but that particular thing is for serving static resources not for NSBundle. I’d

Re: Maven Unit tests with EOF

2020-01-22 Thread Henrique Prange via Webobjects-dev
Hey Aaron, This error rings a bell. I don't recall all the details. It looks like the collectMainProps method is trying to find the Properties file of your project in the wrong place. When you build your project in Eclipse with WOLips, it generates a build folder containing your project's WOA

Re: Maven Unit tests with EOF

2020-01-22 Thread Paul Hoadley via Webobjects-dev
Hi Aaron, On 23 Jan 2020, at 03:39, Aaron Rosenzweig via Webobjects-dev wrote: > I think because it is wanting to treat it as a bundle but it isn’t and so… > I’m not sure where to go from here. Any advice? I have no advice for your specific problem, but on the off chance you haven't heard of

RE: EXTERNAL-Re: Maven builds and fetchSpecs

2019-05-21 Thread Kantala, Dmytro R.
String(buffer); } Thanks, Dmytro From: Kantala, Dmytro R. Sent: Thursday, May 2, 2019 9:40 AM To: webobjects-dev@lists.apple.com Subject: RE: EXTERNAL-Re: Maven builds and fetchSpecs I am getting a null. Below is the code I used to see what specs are even found. It’s coming up with nothing fou

RE: EXTERNAL-Re: Maven builds and fetchSpecs

2019-05-02 Thread Kantala, Dmytro R.
Dmytro Kantala | Manager Applications Engineering | Motley Rice LLC 28 Bridgeside Blvd. | Mt. Pleasant, SC 29464 o. 843.216.9514 | f. 843.216.9450 | dkant...@motleyrice.com From: Hugi Thordarson Sent: Thursday, May 2, 2019 6:41 AM To: Kantala, Dmytro R. Cc: webobjec

Re: Maven builds and fetchSpecs

2019-05-02 Thread Hugi Thordarson
Hi Dmytro, someone who uses EOF might probably be better able to help you. But just for testing I tried this out: Opened an old project that uses EOF, created a FetchSpec in a model in a framework it referenced and was successfully able to get to it using EOFetchSpecification.fetchSpecificationN

Re: Maven builds and Generate Bundles

2019-03-06 Thread Michael Sharp
Thanks Hugi. I can live with workspace wide "generate bundles". Sharpy. > On 6 Mar 2019, at 6:55 pm, Hugi Thordarson wrote: > > I'm not aware of a way to have Maven builds function without generating > bundles :-/. > > I thought this would be a drag on performance (since I remembered bundle-l

Re: Maven builds and Generate Bundles

2019-03-06 Thread Hugi Thordarson
I'm not aware of a way to have Maven builds function without generating bundles :-/. I thought this would be a drag on performance (since I remembered bundle-less being a huge performance boost) but it hasn't been, really (although my projects are all Maven, not sure if the Ant ones suffer). Pe

Re: Maven and Wonder

2019-02-05 Thread Paul Hoadley
Hi Markus, On 6 Feb 2019, at 02:23, Markus Stoll, junidas GmbH wrote: > 2. wounit tests executed from surefireplugin in maven. > > The default way the test is setup (to execute the tests from test-classes), > NSBundle won't find its resources, so MockEditingContext wont find the > EOModels.

Re: Maven and Wonder

2019-02-05 Thread Hugi Thordarson
Hi Markus. Regarding (1), you probably need to include JarResourceRequestHandler ((https://gist.github.com/hprange/1068523) in your project and activate it in your Application constructor: if (isDirectConnectEnabled()) { registerRequestHandler(new JarResourceRequestHandl

Re: Maven: trying to filter Properties breaks Eclipse launch

2017-06-24 Thread Paul Hoadley
On 25 Jun 2017, at 2:41 pm, Paul Hoadley wrote: > > > Resources > ${basedir}/src/main/resources > true > > Removing Resources gets me what I want: resources in src/main/resources filtered with substitutions, and whatever Eclipse is after under ta

Re: Maven: trying to filter Properties breaks Eclipse launch

2017-06-24 Thread Chuck Hill
No, it is not meant to be. From: Paul Hoadley Date: Saturday, June 24, 2017 at 11:43 PM To: Chuck Hill Cc: WebObjects Development Subject: Re: Maven: trying to filter Properties breaks Eclipse launch On 25 Jun 2017, at 2:59 pm, Chuck Hill mailto:ch...@gevityinc.com>> wrote: Is the p

Re: Maven: trying to filter Properties breaks Eclipse launch

2017-06-24 Thread Paul Hoadley
On 25 Jun 2017, at 2:59 pm, Chuck Hill wrote: > Is the pom.xml getting copied into target/? No, though I don’t think it’s meant to be. -- Paul Hoadley http://logicsquad.net/ https://www.linkedin.com/company/logic-squad/ ___ Do not post admin re

Re: Maven: trying to filter Properties breaks Eclipse launch

2017-06-24 Thread Chuck Hill
Is the pom.xml getting copied into target/? From: Webobjects-dev on behalf of Paul Hoadley Date: Saturday, June 24, 2017 at 10:11 PM To: WebObjects Development Subject: Maven: trying to filter Properties breaks Eclipse launch Hi Maveners, I seem to have hit yet another Maven resource-relate

Re: Maven + WOnder 7

2017-01-06 Thread Mark Gowdy
Hi, Nearly there. I have my frameworks converted to use Maven (dependencies are nice btw), and have got my first app to run in Development. I deploy it (for now), using [Run As : Maven Install], and copy the resulting tar.gz file to the server. When I run it on the server, the app tries to st

Re: Maven + WOnder 7

2017-01-05 Thread Mark Gowdy
Paul, I was going to show you the error. (which was something like ‘wonder.ajax : Ajax.jar not found’) but when I tried to reproduce it, it only went and worked !! (rather suspiciously) Although I am not complaining. Thanks for you help, Mark > On 4 Jan 2017, at 22:50, Paul Hoadley wrote:

Re: Maven + WOnder 7

2017-01-04 Thread Paul Hoadley
Hi Mark, On 5 Jan 2017, at 3:34 am, Mark Gowdy wrote: > My issue now is trying to get Ajax (from the Wonder Frameworks) into the mix. > > I have tried various entries in the pom file (such as) > -- > > wonder.ajax > Ajax > ${wonder.version} > > -- > But no success ye

Re: Maven + WOnder 7

2017-01-04 Thread Paul Hoadley
Hi Mark, On 4 Jan 2017, at 11:04 pm, Mark Gowdy wrote: > Can anyone confirm the Wonder Version that I should specify in the > dependencies? > Is it always: 7.0.0-SNAPSHOT Short answer is yes, but the longer answer is that it’s up to you. 7.0.0-SNAPSHOT is where the tip of the master branch is

Re: Maven + WOnder 7

2017-01-04 Thread Mark Gowdy
> On 4 Jan 2017, at 13:49, G Brown wrote: > > Mark, > > I see on github many tags for different versions, but I think the > 7.00-SNAPSHOT is the ever changing shifting current wonder version. Yea, I think so too. My issue now is trying to get Ajax (from the Wonder Frameworks) into the mix.

Re: Maven + WOnder 7

2017-01-04 Thread G Brown
Mark, I see on github many tags for different versions, but I think the 7.00-SNAPSHOT is the ever changing shifting current wonder version. You may also want to create a wonder parent wonder generic-woparent 7.00-SNAPSHOT

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-10-16 Thread Paul Hoadley
On 17 Oct 2016, at 7:16 AM, Mark Wardle wrote: > Paul, you’re a better man than me! I really will do this now you’ve proven it > is possible…. probably next week… maybe! Getting me through the migration process was 95% Hugi, though I will take credit for this particular find. Assuming it work

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-10-16 Thread Mark Wardle
Paul, you’re a better man than me! I really will do this now you’ve proven it is possible…. probably next week… maybe! Mark > On 16 Oct 2016, at 01:05, Paul Hoadley wrote: > > Hi Mark, > > On 6 Sep 2016, at 10:04 PM, Mark Wardle > wrote: > >> It isn’t quite right fr

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-10-15 Thread Paul Hoadley
Hi Mark, On 6 Sep 2016, at 10:04 PM, Mark Wardle wrote: > It isn’t quite right from eclipse. I can run a newly created application from > within eclipse, but when I try to run a migrated application, I get this > error: > > java.lang.ExceptionInInitializerError > at > com.webobjects.a

Re: Maven migration: last two hurdles

2016-10-11 Thread Paul Hoadley
On 12 Oct 2016, at 8:55 AM, Faizel Dakri wrote: > Regarding your second issue, I also keep my components grouped in subfolders > and I was never able to find an automated way to flatten just the components > subfolders. I ended up having to explicitly exclude all subfolders under > src/main/co

Re: Maven migration: last two hurdles

2016-10-11 Thread Faizel Dakri
Regarding your second issue, I also keep my components grouped in subfolders and I was never able to find an automated way to flatten just the components subfolders. I ended up having to explicitly exclude all subfolders under src/main/components and then add each subfolder as a resource directo

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Hugi Thordarson
>> You can add each subfolder in your “components”-folder as a resource folder. >> It’s a pretty horrifying workaround, though and I think we should change the >> wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in >> the components directory should always be flattened by d

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Paul Hoadley
On 11 Oct 2016, at 2:15 AM, Hugi Thordarson wrote: > You can add each subfolder in your “components”-folder as a resource folder. > It’s a pretty horrifying workaround, though and I think we should change the > wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in the > com

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Mark Wardle
Thanks Hugi , that's great - as I have only a handful of directories so certainly a reasonable workaround. I'm definitely going to try this soon! Mark -- Dr. Mark Wardle Consultant Neurologist, Cardiff, UK (Sent from my mobile) > On 10 Oct 2016, at 16:45, Hugi Thordarson wrote: > > You can

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Hugi Thordarson
You can add each subfolder in your “components”-folder as a resource folder. It’s a pretty horrifying workaround, though and I think we should change the wolifecycle-plugin and align the behaviour with ant's (i.e. subfolders in the components directory should always be flattened by default). Bu

Re: Maven with subdirectories within the src/main/components/ path

2016-10-10 Thread Paul Hoadley
On 9 Oct 2016, at 8:14 PM, Paul Hoadley wrote: > On 6 Sep 2016, at 10:00 PM, Mark Wardle wrote: > >> I am getting the following error: >> >> No template found >> for component >> >> for components held within subdirectories of src/main/components/ There >> isn’t a problem for .wo directo

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Paul Hoadley
On 10 Oct 2016, at 7:50 AM, Mark Wardle wrote: > I was probably just shy of getting it all to work but I had spent too long by > that point and put it to one side as a challenge for another day… I’m getting some T-shirts made up with that on them. We can all wear them together. -- Paul Hoad

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Mark Wardle
Sorry Paul. I was probably just shy of getting it all to work but I had spent too long by that point and put it to one side as a challenge for another day… That said, I have adopted maven for another project (non-WO) and am finding it very powerful so I will probably try again [once you’ve someo

Re: Maven with subdirectories within the src/main/components/ path

2016-10-09 Thread Paul Hoadley
Hi Mark, On 6 Sep 2016, at 10:00 PM, Mark Wardle wrote: > I am getting the following error: > > No template found > for component > > for components held within subdirectories of src/main/components/ There > isn’t a problem for .wo directories stored directly in src/main/components. > >

Re: Maven: repository manager for caching the WebObjects plugin repo

2016-09-25 Thread Paul Hoadley
Just for the record: On 25 Sep 2016, at 8:08 PM, Paul Hoadley wrote: > I’m not seeing an option for creating a _plugin_ remote repository on > Artifactory—is that even a thing, or will all of this Just Work? It won’t quite Just Work. The missing step was to add wocommunity.releases and wocomm

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-09-08 Thread Mark Wardle
Thank you! I really think eclipse got muddled. When I started clearing everything and switching back to using ant, eclipse’s filesystem cache thought that there were files around that weren’t and hence I deleted all workspaces, eclipse itself and started again with a freshly cleared source cod

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-09-08 Thread Hugi Thordarson
I feel your pain, the migration was a chore at first. I’ve ported ~30 projects and they all made it in the end. Don’t hesitate to ask if you’d like more hands on assistance—I love helping people migrate to Maven :). - hugi > On 8. sep. 2016, at 19:55, Mark Wardle wrote: > > Thank you! I did

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-09-08 Thread Mark Wardle
Thank you! I did try this and it just wouldn't work with different errors running from eclipse (as above) and at command-line (odd JDBC no connection errors as if no connection dictionary was present). I have temporarily given up and will try again for a new project. I have also upgraded to eclipse

Re: Maven with subdirectories within the src/main/components/ path

2016-09-06 Thread Henrique Prange
Hi Hugi, The code is there. How it’s organized is kinda of weird, though. I’ve created a new branch called maven-plugins-current [1]. It points to the last commit related to the Maven plugins. You can start from that point if you want. Or even better, you could start from a branch on my own for

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-09-06 Thread Hugi Thordarson
Compare your .project and build.properties with those of a new Maven project. Specifically make sure build.properties has: classes.dir=target/classes …and then make sure your .project file contains the maven builder. In fact, your .project should probably look exactly like this, apart from the

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-09-06 Thread Mark Wardle
Definitely! As a potential solution, I am going to create a new empty application and copy across the code and components and other resources and see what happens. Mark > On 6 Sep 2016, at 14:08, Hugi Thordarson wrote: > > This was exactly what happened when the old was missing.You’re sure

Re: Maven and eclipse #2 - problem with missing bundle? null mainBundleName()

2016-09-06 Thread Hugi Thordarson
This was exactly what happened when the old was missing.You’re sure it’s in place? - hugi > On 6. sep. 2016, at 12:34, Mark Wardle wrote: > > I can now build my application on the command-line using maven and it is > packaged beautifully! > > It isn’t quite right from eclipse. I can run

Re: Maven with subdirectories within the src/main/components/ path

2016-09-06 Thread Hugi Thordarson
Doesn’t look like it’s supported in the current Maven plugin. We should fix that—does anyone know where the current code for maven-wolifecycle-plugin resides? All I can find online is the plugin code in the WOLips GitHub repository, but that’s 6 years old code (and labeled version 2.1 when the

Re: Maven - No template found for component Main

2016-09-05 Thread Gino Pacitti
+1 > On 4 Sep 2016, at 23:21, Theodore Petrosky wrote: > > JMHO but I think we should keep the money in the association, and we should > promote the Kickstarter project. > > Put out an email every week to get everyone’s attention to sign up and put in > some money. I’m ready! > > > > >> On

Re: Maven - No template found for component Main

2016-09-05 Thread Mark Wardle
Hugi, Thank you. It works! Mark > On 4 Sep 2016, at 23:16, Hugi Thordarson wrote: > > You probably need to open the Eclipse .project-file in your project and add: > > org.maven.ide.eclipse.maven2Nature > > …as a project nature (inside the “natures"-tag). > > WebObjects uses this identifier t

Re: Maven - No template found for component Main

2016-09-05 Thread Hugi Thordarson
Oh come on, Theodore—you just cost me a thousand bucks! :) But seriously, I agree the community should hold on to its funds for the conferences. I’m not sure Maven by itself is a large enough subject to warrant a Kickstarter, but I’ve been wanting to do a more complete “Modern WebObjects” proje

Re: Maven - No template found for component Main

2016-09-04 Thread Theodore Petrosky
JMHO but I think we should keep the money in the association, and we should promote the Kickstarter project. Put out an email every week to get everyone’s attention to sign up and put in some money. I’m ready! > On Sep 4, 2016, at 10:30 PM, Pascal Robert wrote: > > >> Le 4 sept. 2016 à 19

Re: Maven - No template found for component Main

2016-09-04 Thread Pascal Robert
> Le 4 sept. 2016 à 19:44, Paul Hoadley a écrit : > > On 5 Sep 2016, at 7:46 AM, Hugi Thordarson wrote: > >> This is probably the third or fourth time this is mentioned. We need to fix >> this. >> >> But anyway; WO with Maven seriously rocks, once you get going :). > > I would seriously don

Re: Maven - No template found for component Main

2016-09-04 Thread Paul Hoadley
On 5 Sep 2016, at 7:46 AM, Hugi Thordarson wrote: > This is probably the third or fourth time this is mentioned. We need to fix > this. > > But anyway; WO with Maven seriously rocks, once you get going :). I would seriously donate to a Kickstarter project for you to write the definitive guide

Re: Maven - No template found for component Main

2016-09-04 Thread Hugi Thordarson
You probably need to open the Eclipse .project-file in your project and add: org.maven.ide.eclipse.maven2Nature …as a project nature (inside the “natures"-tag). WebObjects uses this identifier to determine if the project is a Maven project, if it isn’t present it will think the bundle is Fluffy

Re: Maven, two apps with direct connect SSL, one works

2016-07-05 Thread Henrique Prange
Hi Ramsey, AFAICT, Wonder doesn’t support loading Properties.* files from inside JAR frameworks properly. I guess that is why the property hasn’t been loaded as expected. Anyway, it’s been a long time since I last looked into that issue, and I may be wrong. I’ve quit trying to use Properties.*

Re: Maven, two apps with direct connect SSL, one works

2016-06-29 Thread Ramsey Gurley
Some additional followup on this. I just discovered the difference that makes App1 work. ERR2D2W is still on the build path. I forgot to remove that framework when mavenizing App1. App2 had all woframework references removed from .classpath, and it does not work. If I remove ERR2D2W from .classp

Re: Maven classpath ordering

2016-04-07 Thread T Worman
On another topic, I went with Mustache of StringTemplate specifically because of the KVC/getter issue. I shoulda probably dug deeper to override its behavior but I got lazy. :-) I’d love to see what you did there. Anyway, here was my original thread: http://prod.lists.apple.com/archives/webobje

Re: Maven classpath ordering

2016-03-28 Thread Lachlan Deck
You’ll want to use maven’s dependency management section. If you don’t supply one you’re inheriting it from somewhere. It provides for better control of the ordering and so forth of the dependencies you want. The idea is that in your parent pom, you use a dependency management section. Then in

Re: Maven not copying java resources into jar file

2016-03-25 Thread Hugi Thordarson
t commands are you running? >>>>> >>>>> The relevant section is the woman-lifecycle-plugin. >>>>> >>>>> Your src/main/resources is a standard path for maven; that’s not your >>>>> problem. >>>>> >&g

Re: Maven classpath ordering

2016-03-25 Thread Ramsey Gurley
I went back to using the ‘mystery’ jar we had which added the KVC support compiled in. I won’t get the maven-y benefits like downloading sources/javadocs on that one, but that will just encourage me to find a better replacement :D This is still useful as I’m testing deployment on my maven builds

Re: Maven not copying java resources into jar file

2016-03-25 Thread Ramsey Gurley
;>> Lachlan >>>> >>>> >>>>> On 22 Mar 2016, at 8:55 AM, Hugi Thordarson wrote: >>>>> >>>>> Hi Lachlan, >>>>> Thanks, I found the pom you mentioned, but I don’t quite see which parts >>>>> of it are relevant

Re: Maven classpath ordering

2016-03-24 Thread Fabian Peters
Hi Ramsey, I don't know about excluding a single class from a jar, but I've had problems with JavaEOAccess getting on the classpath before ERAttributeExtensions. To avoid that I've used the following: wonder.core ERExtensions

Re: Maven not copying java resources into jar file

2016-03-24 Thread Hugi Thordarson
>>> >>> mvn clean package should create your jar in target/. >>> >>> cheers, >>> Lachlan >>> >>> >>>> On 22 Mar 2016, at 8:55 AM, Hugi Thordarson wrote: >>>> >>>> Hi Lachlan, >>>> Tha

Re: Maven not copying java resources into jar file

2016-03-24 Thread Lachlan Deck
nks, I found the pom you mentioned, but I don’t quite see which parts of >>> it are relevant to my question? >>> >>> - hugi >>> >>> >>> >>>> On 21. mar. 2016, at 20:55, Lachlan Deck wrote: >>>> >>>> Perh

Re: Maven not copying java resources into jar file

2016-03-22 Thread Hugi Thordarson
gt;> problem. >>> >>> mvn clean package should create your jar in target/. >>> >>> cheers, >>> Lachlan >>> >>> >>>> On 22 Mar 2016, at 8:55 AM, Hugi Thordarson wrote: >>>> >>>> Hi Lachlan, >>>&

Re: Maven not copying java resources into jar file

2016-03-22 Thread Henrique Prange
it are relevant to my question? >>> >>> - hugi >>> >>> >>> >>>> On 21. mar. 2016, at 20:55, Lachlan Deck wrote: >>>> >>>> Perhaps @see the list archives for the pom I’d sent to the list in 2012. >>>

Re: Maven not copying java resources into jar file

2016-03-22 Thread Hugi Thordarson
; - hugi >> >> >> >>> On 21. mar. 2016, at 20:55, Lachlan Deck wrote: >>> >>> Perhaps @see the list archives for the pom I’d sent to the list in 2012. >>> >>> —— >>> Subject: Re: Maven >>> From: Lachlan Deck

Re: Maven not copying java resources into jar file

2016-03-21 Thread Lachlan Deck
;> Perhaps @see the list archives for the pom I’d sent to the list in 2012. >> >> —— >> Subject: Re: Maven >> From: Lachlan Deck >> In-Reply-To: <1fea37e9-8a7e-4c5d-836b-3c82faba6...@mac.com> >> Date: Sat, 21 Jan 2012 11:01:25 +1100 >> Mess

Re: Maven not copying java resources into jar file

2016-03-21 Thread Hugi Thordarson
Hi Lachlan, Thanks, I found the pom you mentioned, but I don’t quite see which parts of it are relevant to my question? - hugi > On 21. mar. 2016, at 20:55, Lachlan Deck wrote: > > Perhaps @see the list archives for the pom I’d sent to the list in 2012. > > —— > Subject

Re: Maven not copying java resources into jar file

2016-03-21 Thread Lachlan Deck
Perhaps @see the list archives for the pom I’d sent to the list in 2012. —— Subject: Re: Maven From: Lachlan Deck In-Reply-To: <1fea37e9-8a7e-4c5d-836b-3c82faba6...@mac.com> Date: Sat, 21 Jan 2012 11:01:25 +1100 Message-Id: <64800f58-ca7f-4ed4-bbc1-f69f62cfd...@gmail.com> Reference

  1   2   3   4   >