Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Option for Specifying Name of Output File/s.
Mon, Aug 19 2013 5:37 PMPermanent Link

Steve Gill

Avatar

Hi Tim,

If I create a project called TestApp, the resulting output files will be testapp.html and testapp.js.  To load the app from a website, I would call www.mydomain.com/testapp/testapp.html.  It would be nice if there was a project option for specifying the output file name so I could have index.html and perhaps index.js, although the second one doesn't really matter.  This would mean I could then use www.mydomain.com/testapp, which looks much cleaner.  

I could rename testapp.html to index.html manually but I have to keep remembering to do this.

What do you think?

Thanks,

-Steve
Tue, Aug 20 2013 2:32 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

I would just add a new default page to the web server called
testapp.html then when you go to www.mydomain.com/testapp it will still
work.

Chris Holland
[Team Elevate]

On 19/08/2013 22:37, Steve Gill wrote:
> Hi Tim,
>
> If I create a project called TestApp, the resulting output files will be testapp.html and testapp.js.  To load the app from a website, I would call www.mydomain.com/testapp/testapp.html.  It would be nice if there was a project option for specifying the output file name so I could have index.html and perhaps index.js, although the second one doesn't really matter.  This would mean I could then use www.mydomain.com/testapp, which looks much cleaner.
>
> I could rename testapp.html to index.html manually but I have to keep remembering to do this.
>
> What do you think?
>
> Thanks,
>
> -Steve
>
Tue, Aug 20 2013 3:39 AMPermanent Link

Matthew Jones

It's a solution, but it depends on you changing the web server. Copy the files to a
new host and everything broke. Being able to name the output makes sense, but then
you only have to do it manually once. It's a nice to have option.

/Matthew Jones/
Tue, Aug 20 2013 6:49 PMPermanent Link

Steve Gill

Avatar

Chris, continuing with the example, I currently manually rename testapp.html to index.html so in reality it's not a major problem.  Just one of those things that makes deployment a little bit easier. Smile

Matthew, I agree. I think it would be a logical option to have that should be relatively easy to add (says he who doesn't have to do the work). Smile

-Steve
Wed, Aug 21 2013 4:05 AMPermanent Link

Uli Becker

Steve,

I talked to Tim some months ago via mail about the same problem (I use
to name all my projects "index").

So I think, it's already on the list.

Regards Uli
Wed, Aug 21 2013 4:49 AMPermanent Link

Matthew Jones

I'll just mention that in the phonegap project I'm working on, startup time is
important, and one solution is to have a simple index.html that redirects instantly
to the real project.html page. That would work on any ordinary site too, and allows
you a little extra flexibility. Would be nice to have the option in EWB though.

/Matthew Jones/
Fri, Aug 23 2013 9:09 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< What do you think? >>

Noted.  I've got to do some work on the project options dialog, so I can
squeeze it in then.

Tim Young
Elevate Software
www.elevatesoft.com
Image