Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread hank williams



Oh, thats an interesting idea. A virtual folder. I'll have to try that. But boy such an ugly solution! I hopefully they can fix this.ThanksHankOn 11/5/06, 
Xavi Beumala <[EMAIL PROTECTED]> wrote:



Hi there,What I usually do is create a virtual folder on my project which points to the tomcat webapp folder. Then I change the ouput folder through the compile settings screen: right click on the project -> properties -> Flex Build path.
Then to force eclipse to launch for example http://localhost:8080/myApp you can go to "Run as..." -> "Run.." There you choose your flex project compilation configuration and change "URL or path to launch".
I'm not sure if this is what you were looking for. hope that helps.X.On 11/5/06, hank williams
 <
[EMAIL PROTECTED]> wrote:Dustin,Thanks for verifying this.Its odd that so few people have noticed this. I guess perhaps everyone
just uses apache as a front end. But for me setting up apache on linuxis just another headache since I am not familiar with it, so I reallydont want to introduce any new complexities. So what I am doing now is
just manually copying the files out of the folder before I build warfiles. But this is really annoying. I guess if I switch to ant forbuilding my war's this could be automated.RegardsHankOn 11/4/06, Dustin Mercer <
[EMAIL PROTECTED]> wrote:> Yeah, this one is annoying.  I don't use the Compile locally option just because of this issue.  I have it compile on the server.  Definately something that should be filed with Adobe though.  I keep meaning to file a wish request for this, I'll make some time to do that today.
>> Dustin Mercer>> >> From: flexcoders@yahoogroups.com
 on behalf of hank williams> Sent: Sat 11/4/2006 5:44 AM
> To: flexcoders@yahoogroups.com> Subject: Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder
>>>> Ok, looking at this somemore, I think this is most likely a design bug
> in flex builder.>> There is no reason for flex builder to prevent the user from> specifying any folder he likes for the build output. For FDS> applications, it seems the flex builder is limited to generating
> compiler output in a folder that is inside the web application> folder. While the intentions are good, FDS should certainly not> prevent the user from placing the output in root of the web> application folder and not in a folder inside the web application
> folder.>> in other words flexbuilder will build this>> webapps> mywebappfolder> myflexappfolder> yada.html> yada.swf>> but flexbuilder will not build this:
>> webapps> mywebappfolder> yada.html> yada.swf>> which makes it very hard to make an app domain> 
www.appname.com>> instead of
> www.appname.com/somefoldername>> without apache or some other indirection
>> Regards> Hank>> On 11/4/06, hank williams <
[EMAIL PROTECTED] 
hank777%40gmail.com> > wrote:> > It sounds like you are letting FDS compile for you on the server. I am
> > compiling on the client.> > To restate, hopefully, more clearly my problem, it is as follows:> >> > I want my swf and html output files to be inside:> > webapps/
> >> > instead of:> > webapps//> >> > I am not able to get flexbuilder to do this. The place to do it would> > be in the properties panel for the flex-app->Flex Build Path -> output
> > folder.> >> > But the dialog requires me to enter a folder name which will be placed> > inside the  folder. When I try to leave this field> > blank, which would, conceptually, achieve the goal because the screen
> > states that the path is relative to , flex builder> > generates an error. Entering a full path i.e. C:\..., I dont get the> > error, but flexbuilder refuses to compile the app.
> >> > The reason I want to do this is so that my url does not need to be> >> > 
www.somedomain.com/flex-app-name> >
> > Thanks> > Hank> >> >> >> > How> > On 11/2/06, Nick Rothwell <
[EMAIL PROTECTED] 
nick%40cassiel.com> > wrote:> > >> > > On 1 Nov 2006, at 22:22, hank williams wrote:> > >> > > > I dont see how you avoid this since servlet containers require that
> > > > the WEB-INF folder be in the root directory of the application, but> > > > this is not how flex structures things. With Flex/FDS there is the> > > > your webapp directory which is inside webapps, and then a sub
> > > > directory, for the flex application> > >> > > I'm not sure I follow. I have FDS in Tomcat configured with> > >> > > we

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread Xavi Beumala



Hi there,What I usually do is create a virtual folder on my project which points to the tomcat webapp folder. Then I change the ouput folder through the compile settings screen: right click on the project -> properties -> Flex Build path.
Then to force eclipse to launch for example http://localhost:8080/myApp you can go to "Run as..." -> "Run.." There you choose your flex project compilation configuration and change "URL or path to launch".
I'm not sure if this is what you were looking for. hope that helps.X.On 11/5/06, hank williams <
[EMAIL PROTECTED]> wrote:Dustin,Thanks for verifying this.Its odd that so few people have noticed this. I guess perhaps everyone
just uses apache as a front end. But for me setting up apache on linuxis just another headache since I am not familiar with it, so I reallydont want to introduce any new complexities. So what I am doing now is
just manually copying the files out of the folder before I build warfiles. But this is really annoying. I guess if I switch to ant forbuilding my war's this could be automated.RegardsHankOn 11/4/06, Dustin Mercer <
[EMAIL PROTECTED]> wrote:> Yeah, this one is annoying.  I don't use the Compile locally option just because of this issue.  I have it compile on the server.  Definately something that should be filed with Adobe though.  I keep meaning to file a wish request for this, I'll make some time to do that today.
>> Dustin Mercer>> >> From: flexcoders@yahoogroups.com on behalf of hank williams> Sent: Sat 11/4/2006 5:44 AM
> To: flexcoders@yahoogroups.com> Subject: Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder>>>> Ok, looking at this somemore, I think this is most likely a design bug
> in flex builder.>> There is no reason for flex builder to prevent the user from> specifying any folder he likes for the build output. For FDS> applications, it seems the flex builder is limited to generating
> compiler output in a folder that is inside the web application> folder. While the intentions are good, FDS should certainly not> prevent the user from placing the output in root of the web> application folder and not in a folder inside the web application
> folder.>> in other words flexbuilder will build this>> webapps> mywebappfolder> myflexappfolder> yada.html> yada.swf>> but flexbuilder will not build this:
>> webapps> mywebappfolder> yada.html> yada.swf>> which makes it very hard to make an app domain> www.appname.com>> instead of
> www.appname.com/somefoldername>> without apache or some other indirection>> Regards> Hank>> On 11/4/06, hank williams <
[EMAIL PROTECTED] hank777%40gmail.com> > wrote:> > It sounds like you are letting FDS compile for you on the server. I am
> > compiling on the client.> > To restate, hopefully, more clearly my problem, it is as follows:> >> > I want my swf and html output files to be inside:> > webapps/
> >> > instead of:> > webapps//> >> > I am not able to get flexbuilder to do this. The place to do it would> > be in the properties panel for the flex-app->Flex Build Path -> output
> > folder.> >> > But the dialog requires me to enter a folder name which will be placed> > inside the  folder. When I try to leave this field> > blank, which would, conceptually, achieve the goal because the screen
> > states that the path is relative to , flex builder> > generates an error. Entering a full path i.e. C:\..., I dont get the> > error, but flexbuilder refuses to compile the app.
> >> > The reason I want to do this is so that my url does not need to be> >> > www.somedomain.com/flex-app-name> >
> > Thanks> > Hank> >> >> >> > How> > On 11/2/06, Nick Rothwell <[EMAIL PROTECTED] 
nick%40cassiel.com> > wrote:> > >> > > On 1 Nov 2006, at 22:22, hank williams wrote:> > >> > > > I dont see how you avoid this since servlet containers require that
> > > > the WEB-INF folder be in the root directory of the application, but> > > > this is not how flex structures things. With Flex/FDS there is the> > > > your webapp directory which is inside webapps, and then a sub
> > > > directory, for the flex application> > >> > > I'm not sure I follow. I have FDS in Tomcat configured with> > >> > > webapps//WEB-INF/ (and then flex/, lib/ etc.)
> > >> > > and> > >> > > webapps//> > >> > > and the context prefix is .>

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread hank williams
Dustin,

Thanks for verifying this.

Its odd that so few people have noticed this. I guess perhaps everyone
just uses apache as a front end. But for me setting up apache on linux
is just another headache since I am not familiar with it, so I really
dont want to introduce any new complexities. So what I am doing now is
just manually copying the files out of the folder before I build war
files. But this is really annoying. I guess if I switch to ant for
building my war's this could be automated.

Regards
Hank

On 11/4/06, Dustin Mercer <[EMAIL PROTECTED]> wrote:
> Yeah, this one is annoying.  I don't use the Compile locally option just 
> because of this issue.  I have it compile on the server.  Definately 
> something that should be filed with Adobe though.  I keep meaning to file a 
> wish request for this, I'll make some time to do that today.
>
> Dustin Mercer
>
> 
>
> From: flexcoders@yahoogroups.com on behalf of hank williams
> Sent: Sat 11/4/2006 5:44 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: Structuring a collection of Flex apps in a 
> tomcat webapps folder
>
>
>
> Ok, looking at this somemore, I think this is most likely a design bug
> in flex builder.
>
> There is no reason for flex builder to prevent the user from
> specifying any folder he likes for the build output. For FDS
> applications, it seems the flex builder is limited to generating
> compiler output in a folder that is inside the web application
> folder. While the intentions are good, FDS should certainly not
> prevent the user from placing the output in root of the web
> application folder and not in a folder inside the web application
> folder.
>
> in other words flexbuilder will build this
>
> webapps
> mywebappfolder
> myflexappfolder
> yada.html
> yada.swf
>
> but flexbuilder will not build this:
>
> webapps
> mywebappfolder
> yada.html
> yada.swf
>
> which makes it very hard to make an app domain
> www.appname.com
>
> instead of
> www.appname.com/somefoldername
>
> without apache or some other indirection
>
> Regards
> Hank
>
> On 11/4/06, hank williams <[EMAIL PROTECTED] <mailto:hank777%40gmail.com> > 
> wrote:
> > It sounds like you are letting FDS compile for you on the server. I am
> > compiling on the client.
> > To restate, hopefully, more clearly my problem, it is as follows:
> >
> > I want my swf and html output files to be inside:
> > webapps/
> >
> > instead of:
> > webapps//
> >
> > I am not able to get flexbuilder to do this. The place to do it would
> > be in the properties panel for the flex-app->Flex Build Path -> output
> > folder.
> >
> > But the dialog requires me to enter a folder name which will be placed
> > inside the  folder. When I try to leave this field
> > blank, which would, conceptually, achieve the goal because the screen
> > states that the path is relative to , flex builder
> > generates an error. Entering a full path i.e. C:\..., I dont get the
> > error, but flexbuilder refuses to compile the app.
> >
> > The reason I want to do this is so that my url does not need to be
> >
> > www.somedomain.com/flex-app-name
> >
> > Thanks
> > Hank
> >
> >
> >
> > How
> > On 11/2/06, Nick Rothwell <[EMAIL PROTECTED] <mailto:nick%40cassiel.com> > 
> > wrote:
> > >
> > > On 1 Nov 2006, at 22:22, hank williams wrote:
> > >
> > > > I dont see how you avoid this since servlet containers require that
> > > > the WEB-INF folder be in the root directory of the application, but
> > > > this is not how flex structures things. With Flex/FDS there is the
> > > > your webapp directory which is inside webapps, and then a sub
> > > > directory, for the flex application
> > >
> > > I'm not sure I follow. I have FDS in Tomcat configured with
> > >
> > > webapps//WEB-INF/ (and then flex/, lib/ etc.)
> > >
> > > and
> > >
> > > webapps//
> > >
> > > and the context prefix is .
> > >
> > > In any case, I tend to solve URL mapping issues by bolting Apache on
> > > the front of the app and using the reverse proxy module...
> > >
> > > -- N.
> > >
> > >
> > > nick rothwell -- composition, systems, performance -- http://
> > > www.cassiel.com
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: http://group

RE: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread Dustin Mercer
Yeah, this one is annoying.  I don't use the Compile locally option just 
because of this issue.  I have it compile on the server.  Definately something 
that should be filed with Adobe though.  I keep meaning to file a wish request 
for this, I'll make some time to do that today.
 
Dustin Mercer



From: flexcoders@yahoogroups.com on behalf of hank williams
Sent: Sat 11/4/2006 5:44 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat 
webapps folder



Ok, looking at this somemore, I think this is most likely a design bug
in flex builder.

There is no reason for flex builder to prevent the user from
specifying any folder he likes for the build output. For FDS
applications, it seems the flex builder is limited to generating
compiler output in a folder that is inside the web application
folder. While the intentions are good, FDS should certainly not
prevent the user from placing the output in root of the web
application folder and not in a folder inside the web application
folder.

in other words flexbuilder will build this

webapps
mywebappfolder
myflexappfolder
yada.html
yada.swf

but flexbuilder will not build this:

webapps
mywebappfolder
yada.html
yada.swf

which makes it very hard to make an app domain
www.appname.com

instead of
www.appname.com/somefoldername

without apache or some other indirection

Regards
Hank

On 11/4/06, hank williams <[EMAIL PROTECTED] <mailto:hank777%40gmail.com> > 
wrote:
> It sounds like you are letting FDS compile for you on the server. I am
> compiling on the client.
> To restate, hopefully, more clearly my problem, it is as follows:
>
> I want my swf and html output files to be inside:
> webapps/
>
> instead of:
> webapps//
>
> I am not able to get flexbuilder to do this. The place to do it would
> be in the properties panel for the flex-app->Flex Build Path -> output
> folder.
>
> But the dialog requires me to enter a folder name which will be placed
> inside the  folder. When I try to leave this field
> blank, which would, conceptually, achieve the goal because the screen
> states that the path is relative to , flex builder
> generates an error. Entering a full path i.e. C:\..., I dont get the
> error, but flexbuilder refuses to compile the app.
>
> The reason I want to do this is so that my url does not need to be
>
> www.somedomain.com/flex-app-name
>
> Thanks
> Hank
>
>
>
> How
> On 11/2/06, Nick Rothwell <[EMAIL PROTECTED] <mailto:nick%40cassiel.com> > 
> wrote:
> >
> > On 1 Nov 2006, at 22:22, hank williams wrote:
> >
> > > I dont see how you avoid this since servlet containers require that
> > > the WEB-INF folder be in the root directory of the application, but
> > > this is not how flex structures things. With Flex/FDS there is the
> > > your webapp directory which is inside webapps, and then a sub
> > > directory, for the flex application
> >
> > I'm not sure I follow. I have FDS in Tomcat configured with
> >
> > webapps//WEB-INF/ (and then flex/, lib/ etc.)
> >
> > and
> >
> > webapps//
> >
> > and the context prefix is .
> >
> > In any case, I tend to solve URL mapping issues by bolting Apache on
> > the front of the app and using the reverse proxy module...
> >
> > -- N.
> >
> >
> > nick rothwell -- composition, systems, performance -- http://
> > www.cassiel.com
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
> > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > <http://www.mail-archive.com/flexcoders%40yahoogroups.com> 
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>


 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
<>

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread hank williams
Ok, looking at this somemore, I think this is most likely a design bug
in flex builder.

There is no reason for flex builder to prevent the user from
specifying any folder he likes for the build output. For FDS
applications, it seems the flex builder is limited to generating
compiler output in a folder that is inside the web application
folder. While the intentions are good, FDS should certainly not
prevent the user from placing the output in root of the web
application folder and not in a folder inside the web application
folder.

in other words flexbuilder will build this

webapps
mywebappfolder
myflexappfolder
   yada.html
   yada.swf

but flexbuilder will not build this:

webapps
mywebappfolder
   yada.html
   yada.swf

which makes it very hard to make an app domain
www.appname.com

instead of
www.appname.com/somefoldername

without apache or some other indirection

Regards
Hank

On 11/4/06, hank williams <[EMAIL PROTECTED]> wrote:
> It sounds like you are letting FDS compile for you on the server. I am
> compiling on the client.
> To restate, hopefully, more clearly my problem, it is as follows:
>
> I want my swf and html output files to be inside:
> webapps/
>
> instead of:
> webapps//
>
> I am not able to get flexbuilder to do this. The place to do it would
> be in the properties panel for the flex-app->Flex Build Path -> output
> folder.
>
> But the dialog requires me to enter a folder name which will be placed
> inside the  folder. When I try to leave this field
> blank, which would, conceptually, achieve the goal because the screen
> states that the path is relative to ,  flex builder
> generates an error. Entering a full path i.e. C:\..., I dont get the
> error, but flexbuilder refuses to compile the app.
>
> The reason I want to do this is so that my url does not need to be
>
> www.somedomain.com/flex-app-name
>
> Thanks
> Hank
>
>
>
> How
> On 11/2/06, Nick Rothwell <[EMAIL PROTECTED]> wrote:
> >
> > On 1 Nov 2006, at 22:22, hank williams wrote:
> >
> > > I dont see how you avoid this since servlet containers require that
> > > the WEB-INF folder be in the root directory of the application, but
> > > this is not how flex structures things. With Flex/FDS there is the
> > > your webapp directory which is inside webapps, and then a sub
> > > directory, for the flex application
> >
> > I'm not sure I follow. I have FDS in Tomcat configured with
> >
> > webapps//WEB-INF/ (and then flex/, lib/ etc.)
> >
> > and
> >
> > webapps//
> >
> > and the context prefix is .
> >
> > In any case, I tend to solve URL mapping issues by bolting Apache on
> > the front of the app and using the reverse proxy module...
> >
> > -- N.
> >
> >
> >nick rothwell -- composition, systems, performance -- http://
> > www.cassiel.com
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread hank williams
It sounds like you are letting FDS compile for you on the server. I am
compiling on the client.
To restate, hopefully, more clearly my problem, it is as follows:

I want my swf and html output files to be inside:
webapps/

instead of:
webapps//

I am not able to get flexbuilder to do this. The place to do it would
be in the properties panel for the flex-app->Flex Build Path -> output
folder.

But the dialog requires me to enter a folder name which will be placed
inside the  folder. When I try to leave this field
blank, which would, conceptually, achieve the goal because the screen
states that the path is relative to ,  flex builder
generates an error. Entering a full path i.e. C:\..., I dont get the
error, but flexbuilder refuses to compile the app.

The reason I want to do this is so that my url does not need to be

www.somedomain.com/flex-app-name

Thanks
Hank



How
On 11/2/06, Nick Rothwell <[EMAIL PROTECTED]> wrote:
>
> On 1 Nov 2006, at 22:22, hank williams wrote:
>
> > I dont see how you avoid this since servlet containers require that
> > the WEB-INF folder be in the root directory of the application, but
> > this is not how flex structures things. With Flex/FDS there is the
> > your webapp directory which is inside webapps, and then a sub
> > directory, for the flex application
>
> I'm not sure I follow. I have FDS in Tomcat configured with
>
> webapps//WEB-INF/ (and then flex/, lib/ etc.)
>
> and
>
> webapps//
>
> and the context prefix is .
>
> In any case, I tend to solve URL mapping issues by bolting Apache on
> the front of the app and using the reverse proxy module...
>
> -- N.
>
>
>nick rothwell -- composition, systems, performance -- http://
> www.cassiel.com
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-02 Thread Nick Rothwell

On 1 Nov 2006, at 22:22, hank williams wrote:

> I dont see how you avoid this since servlet containers require that
> the WEB-INF folder be in the root directory of the application, but
> this is not how flex structures things. With Flex/FDS there is the
> your webapp directory which is inside webapps, and then a sub
> directory, for the flex application

I'm not sure I follow. I have FDS in Tomcat configured with

webapps//WEB-INF/ (and then flex/, lib/ etc.)

and

webapps//

and the context prefix is .

In any case, I tend to solve URL mapping issues by bolting Apache on  
the front of the app and using the reverse proxy module...

-- N.


   nick rothwell -- composition, systems, performance -- http:// 
www.cassiel.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-01 Thread hank williams
On further investigation, our initial understanding was correct and
the WEB-INF folder must be inside the application directory. I thought
things worked because tomcat will point to the app, but the FDS remote
access does not work.

So I guess the simple question is this. Do all FDS applications
require a sub folder to be specified? In other words must all FDS apps
be www.somedomain.com/flexapp ?

I dont see how you avoid this since servlet containers require that
the WEB-INF folder be in the root directory of the application, but
this is not how flex structures things. With Flex/FDS there is the
your webapp directory which is inside webapps, and then a sub
directory, for the flex application.

How do you get FDS apps to use a simple url?

Hank

On 11/1/06, hank williams <[EMAIL PROTECTED]> wrote:
> Thanks. But I did figure it out. I just needed to configure a new host
> in my server.xml file with an appBase parameter that points to the
> necessary directory.
>
> The concern that my admin had was that he believed that the directory
> pointed to by appBase had to have a WEB-INF directory. This does make
> sense, but it appears not to be the case. The WEB-INF folder may
> indeed be one level up as it is in the case of where the flex app is
> vs the root of the webapp. Honestly, I'm not sure why we are able to
> get away with this, but it does work.
>
> Hank
>
> On 11/1/06, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > Sounds like this is beyond the scope of Tomcat configuration, since
> > the hostname will be resolved by DNS at the client regardless of
> > what webserver is actually running on that host.
> >
> > Assuming you have DNS issues already worked out though, you could
> > easily just redirect to the desired url by using some JavaScript in
> > a default HTML page on your host.  Something like:
> >
> >   var loc = window.location.toString();
> >   if (loc.indexOf("www.somedomain.com") != -1)
> >   window.location = "http://www.somedomain.com/flexapp1";;
> >   else if (loc.indexOf("ww2.somedomain.com") != -1)
> >   window.location = "http://www.somedomain.com/flexapp2";;
> >   else if (loc.indexOf("ww3.somedomain.com") != -1)
> >   window.location = "http://www.somedomain.com/flexapp3";;
> >
> >
> > You'll have other issues even with this approach, though; domain
> > names might be entered by the user in mixed case, or the IP address
> > might be used instead of the hostname, and probably many others.
> >
> > --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > I have a three flex applications that live under one FDS web app.
> > >
> > > Imagine a directory structure as follows
> > >
> > > webapps
> > > mainFDSAppName
> > > flexapp1
> > > flexapp2
> > > flexapp3
> > >
> > >
> > > I want to be able to say
> > >
> > > www.somedomain.com points to flexapp1
> > > ww2.somedomain.com points to flexapp2
> > > ww3.somedomain.com points to flexapp3
> > >
> > >
> > > My system administrator is telling me that tomcat will not allow an
> > > app to be at a deeper level than at the top of the webapps
> > directory
> > > without additional path information. This means that I could make
> > an
> > > app inside mainFDSAppName be www.somdomain.com but flexapp1 has to
> > be
> > > www.somedomain.com/flexapp1.
> > >
> > > I know that the www, ww1 and ww2 require additional CNAMEs. That is
> > > not the issue. The issue is whether I can using some combination of
> > > CNAME and other tomcat configurations to make the nice url's
> > described
> > > above. I also want to do something that will allow me to not do
> > extra
> > > work every time I want to build and/or deploy my app.
> > >
> > > Hank
> > >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-01 Thread hank williams
Thanks. But I did figure it out. I just needed to configure a new host
in my server.xml file with an appBase parameter that points to the
necessary directory.

The concern that my admin had was that he believed that the directory
pointed to by appBase had to have a WEB-INF directory. This does make
sense, but it appears not to be the case. The WEB-INF folder may
indeed be one level up as it is in the case of where the flex app is
vs the root of the webapp. Honestly, I'm not sure why we are able to
get away with this, but it does work.

Hank

On 11/1/06, Doug Lowder <[EMAIL PROTECTED]> wrote:
> Sounds like this is beyond the scope of Tomcat configuration, since
> the hostname will be resolved by DNS at the client regardless of
> what webserver is actually running on that host.
>
> Assuming you have DNS issues already worked out though, you could
> easily just redirect to the desired url by using some JavaScript in
> a default HTML page on your host.  Something like:
>
>   var loc = window.location.toString();
>   if (loc.indexOf("www.somedomain.com") != -1)
>   window.location = "http://www.somedomain.com/flexapp1";;
>   else if (loc.indexOf("ww2.somedomain.com") != -1)
>   window.location = "http://www.somedomain.com/flexapp2";;
>   else if (loc.indexOf("ww3.somedomain.com") != -1)
>   window.location = "http://www.somedomain.com/flexapp3";;
>
>
> You'll have other issues even with this approach, though; domain
> names might be entered by the user in mixed case, or the IP address
> might be used instead of the hostname, and probably many others.
>
> --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]>
> wrote:
> >
> > I have a three flex applications that live under one FDS web app.
> >
> > Imagine a directory structure as follows
> >
> > webapps
> > mainFDSAppName
> > flexapp1
> > flexapp2
> > flexapp3
> >
> >
> > I want to be able to say
> >
> > www.somedomain.com points to flexapp1
> > ww2.somedomain.com points to flexapp2
> > ww3.somedomain.com points to flexapp3
> >
> >
> > My system administrator is telling me that tomcat will not allow an
> > app to be at a deeper level than at the top of the webapps
> directory
> > without additional path information. This means that I could make
> an
> > app inside mainFDSAppName be www.somdomain.com but flexapp1 has to
> be
> > www.somedomain.com/flexapp1.
> >
> > I know that the www, ww1 and ww2 require additional CNAMEs. That is
> > not the issue. The issue is whether I can using some combination of
> > CNAME and other tomcat configurations to make the nice url's
> described
> > above. I also want to do something that will allow me to not do
> extra
> > work every time I want to build and/or deploy my app.
> >
> > Hank
> >
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/