Re: Maven deployment application resources
Re: Maven deployment application resources
- Subject: Re: Maven deployment application resources
- From: email@hidden
- Date: Mon, 07 Mar 2016 19:12:28 +0000
Well, that was a case of "Reading goes quickly when you don't slow down to comprehend".
Do you set the finalName in the pom? Something like:
<build>
<finalName>${project.artifactId}</finalName>
</build>
The default is ${artifactId}-${version}. I've got projects with the default and others without the version number as per above. Split install works fine for all.
> Am 07.03.2016 um 18:44 schrieb Ramsey Gurley <email@hidden>:
>
> The WOFrameworksBaseURL works fine for me. All my framework resources are loading okay. It’s just the resources from the application itself that get a path with pom version in it.
>
> I’m using an approximately year old version of Wonder, so I should be unaffected by recent changes to Wonder.
>
>
> On Mar 7, 2016, at 11:36 AM, Fabian Peters <email@hidden> wrote:
>
>> Hi Ramsey,
>>
>> I'm guessing you're seeing <https://github.com/wocommunity/wonder/pull/704#issuecomment-167605363>. Markus proposed a fix in <https://github.com/wocommunity/wonder/pull/727>, of which I tested a preliminary version.
>>
>> For now I just reverted the commits from #704.
>>
>> Fabian
>>
>>> Am 07.03.2016 um 18:26 schrieb Ramsey Gurley <email@hidden>:
>>>
>>> Hi all,
>>>
>>> I’m doing a split deployment with apache. When deploying a maven application, I’m able to get the proper WebServerResources for all the frameworks using WOFrameworksBaseURL. However, any resources in the application itself seem to generate urls like domain/WebObjects/AppName-1.0.0-SNAPSHOT.woa/path/to/resource.
>>>
>>> Can anyone tell me the secret handshake/property to make that use domain/WebObjects/AppName.woa/path/to/resource? I tried WOApplicationBaseURL, but that just replaced the /WebObjects bit and left the app name with pom version in place.
>>>
>>> Thanks,
>>>
>>> Ramsey
>>> _______________________________________________
>>> 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