BUILD APPLICATION

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

BUILD APPLICATION

bob.miller
Hi Everyone,

Has anyone had any luck using BUILD APPLICATION?  I'm trying it (v13.4,
Windows) and while it chugs for a little while and does not bring up any
errors, there's no visual indication that it is doing anything, and it
certainly not creating a Client or a Server built application (if I run
'Build Application' I definitely get what I want).

What I'm using it for is to set some parameters that I can't set using the
default build window (such as the path between the server and the data
file; I don't want the admin to be prompted for the datafile each time he
fires up the built server).

I'm passing the path to my custom BuildApp.xml file and it doesn't balk...

Thanks for any advice -

Bob Miller
Chomerics, a division of Parker Hannifin Corporation


"PLEASE NOTE: The preceding information may be confidential or
privileged. It only should be used or disseminated for the purpose
of conducting business with Parker. If you are not an intended
recipient, please notify the sender by replying to this message and
then delete the information from your system. Thank you for your
cooperation."

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

Peter Schumacher-2
Hi Bob,

It's French, means, it doesn't talk much. :)

Check the log file (in the folder LOGS) and check your XML file. On a Mac I use 'xmllint' to check it. Sometimes BUILD APPLICATION chokes about a missing dash or blank and doesn't tell you.

Am 22.01.2014 um 18:19 schrieb [hidden email]:

> Hi Everyone,
>
> Has anyone had any luck using BUILD APPLICATION?  I'm trying it (v13.4,
> Windows) and while it chugs for a little while and does not bring up any
> errors, there's no visual indication that it is doing anything, and it
> certainly not creating a Client or a Server built application (if I run
> 'Build Application' I definitely get what I want).
>
> What I'm using it for is to set some parameters that I can't set using the
> default build window (such as the path between the server and the data
> file; I don't want the admin to be prompted for the datafile each time he
> fires up the built server).
>
> I'm passing the path to my custom BuildApp.xml file and it doesn't balk...
>
> Thanks for any advice -
>
> Bob Miller
> Chomerics, a division of Parker Hannifin Corporation
>
>

Greetings,
[4D-Consulting.com]eK, Wiesbaden (Germany)
Peter Schumacher
--------------------------------------------------------
Web: http://4D-Consulting.com
Web: http://4DToday.eu

FreeCall:  0800 434 636 7 (Germany only)
USA: +1 818 824 6078
International:   +49 611 9406 850
iChat/Skype: PeterInWiesbaden

4D-Consulting.com eK - Scharnhorststr. 36 - 65195 Wiesbaden
HR Wiesbaden: HRA 4867 * DUNS: 344215293
Member of the German Developer Network  http://www.die4dwerkstatt.de






**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

Chuck Miller-2
Also make sure all licenses are in place and attached to build process that you need


Regards
On Jan 22, 2014, at 1:04 PM, Peter Schumacher wrote:

> Check the log file (in the folder LOGS) and check your XML file. On a Mac I use 'xmllint' to check it. Sometimes BUILD APPLICATION chokes about a missing dash or blank and doesn't tell you.

------------------------------------------------------------------------------------------------
 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064      
 PO Box 1720 mailto:cjmiller<AT SIGN>informed-solutions.com
 Brookline, MA 02446 USA Registered 4D Developer                
       Providers of 4D and Sybase connectivity
          http://www.informed-solutions.com 
------------------------------------------------------------------------------------------------
This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law.  These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited.  Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication.





**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

Jeffrey Kain
Agreed - It’s usually license related or incorrect file paths.

On Jan 22, 2014, at 1:39 PM, Chuck Miller <[hidden email]> wrote:

> Also make sure all licenses are in place and attached to build process that you need


**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

Jim Hays
One other possibility.  This may have been 4D 2004, but the order of the
licenses listed in the BuildApp.xml file mattered.  I don't remember which
is which at the moment, but the prefixes should tell you - 4DDP, etc.

<ArrayLicenseWin>
          <ItemsCount>5</ItemsCount>
           <Item1>C:\Documents and Settings\All Users\Application
Data\4D\Licenses\4DDP123412341234.license4D</Item1>
           <Item2>C:\Documents and Settings\All Users\Application
Data\4D\Licenses\4DOM123412341234.license4D</Item2>
           <Item3>C:\Documents and Settings\All Users\Application
Data\4D\Licenses\4UOS123412341234.license4D</Item3>
           <Item4>C:\Documents and Settings\All Users\Application
Data\4D\Licenses\4UOE123412341234.license4D</Item4>
           <Item5>C:\Documents and Settings\All Users\Application
Data\4D\Licenses\4UOX123412341234.license4D</Item5>
</ArrayLicenseWin>

- Jim


On Wed, Jan 22, 2014 at 1:41 PM, Jeffrey Kain <[hidden email]>wrote:

> Agreed - It’s usually license related or incorrect file paths.
>
> On Jan 22, 2014, at 1:39 PM, Chuck Miller <[hidden email]>
> wrote:
>
> > Also make sure all licenses are in place and attached to build process
> that you need
>
>
> **********************************************************************
> 4D v13 is available now - with more than 200 new features to make
> your applications richer and faster
> http://www.4d.com/products/new.html
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[hidden email]
> **********************************************************************
>

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

bob.miller
In reply to this post by bob.miller
On Wed, Jan 22, 2014 at 1:41 PM, Jeffrey Kain
<[hidden email]>wrote:

> Agreed - It?s usually license related or incorrect file paths.
>
> On Jan 22, 2014, at 1:39 PM, Chuck Miller
<[hidden email]>
> wrote:
>
> > Also make sure all licenses are in place and attached to build process
> that you need

Thanks for this; I was relying on the documentation which reads, "If this
key is not used, no license number will be integrated and the application
will start in demo mode.".

So I changed my XML input file to include my 4D Server license.  Still no
joy; the error handler is not called, and nothing happens.  I validated
the XML usign www.xmlvalidation.com, no errors.

All of my license files have the naming convention xxx.4DLicense, where
xxx is the license number itself.  I tried this as-is, and then I noticed
that the example in the documentation used an extension of .html   I
renamed the file to xxx.html, but this didn't change anything.

Anyone see anything missing?

Here's the code to build:


// Start Method
ON ERR CALL("BuildProblem")  //never gets called

BUILD APPLICATION("")

if(OK=1)
MyAlert ("Build Complete")
Else
MyAlert ("Build Error: "+String(Error)  //always returns 'Build Error: 0"
End if

ON ERR CALL("")
// End Method


Here's the XML file I open when prompted by 'BUILD APPLICATION' :


<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Preferences4D>

  <BuildApp>
    <Versioning></Versioning>
    <BuildCompiled>False</BuildCompiled>
    <IncludeAssociatedFolders>False</IncludeAssociatedFolders>
    <BuildComponent>False</BuildComponent>
    <BuildApplicationSerialized>False</BuildApplicationSerialized>
    <BuildApplicationLight>False</BuildApplicationLight>
    <SourcesFiles>
      <RuntimeVL>
        <RuntimeVLIncludeIt>True</RuntimeVLIncludeIt>
      </RuntimeVL>
      <CS>
        <ServerIncludeIt>True</ServerIncludeIt>
        <ClientWinIncludeIt>True</ClientWinIncludeIt>
        <ClientMacIncludeIt>False</ClientMacIncludeIt>
        <ServerWinFolder>C:\Bob's Stuff\4D\4D v13.4\4D Server 64
Bits\</ServerWinFolder>
        <ClientWinFolderToWin>C:\Bob's Stuff\4D\4D v13.4\Complements\4D
Volume Desktop</ClientWinFolderToWin>
      </CS>
    </SourcesFiles>
    <BuildApplicationName>InfoCenter</BuildApplicationName>
    <BuildWinDestFolder>C:\Bob's
Stuff\4Dv13_InfoCenter\InfoCenter_Build</BuildWinDestFolder>
 <DataFilePath>e:\4DServerV134\DatabaseFiles\InfoCenter.4DD</DataFilePath>
        <CS>
        <ServerIconWinPath>InfoCenter.ico</ServerIconWinPath>
        <ClientWinIconForWinPath>InfoCenter.ico</ClientWinIconForWinPath>
        </CS>
    <CS>
      <PortNumber>14444</PortNumber>
      <BuildServerApplication>True</BuildServerApplication>
      <BuildCSUpgradeable>True</BuildCSUpgradeable>
      <CurrentVers>0</CurrentVers>
      <HardLink></HardLink>
    </CS>

    <Licenses>
      <ArrayLicenseWin>
        <ItemsCount>1</ItemsCount>
                <Item1>C:\Bob's Stuff\4Dv13_InfoCenter\Licenses\C:\Bob's
Stuff\4Dv13_InfoCenter\Licenses\4USxxx57.html</Item1>
      </ArrayLicenseWin>
    </Licenses>
  </BuildApp>

</Preferences4D>


Bob Miller
Chomerics, a division of Parker Hannifin Corporation


"PLEASE NOTE: The preceding information may be confidential or
privileged. It only should be used or disseminated for the purpose
of conducting business with Parker. If you are not an intended
recipient, please notify the sender by replying to this message and
then delete the information from your system. Thank you for your
cooperation."


**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

Arnaud de Montard

Le 22 janv. 2014 à 21:45, [hidden email] a écrit :

> Anyone see anything missing?

I once had a build not working for that : MSC is all ok  ?
Building from dialog works?

--
Arnaud de Montard




**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

RE: BUILD APPLICATION

Randy Engle
In reply to this post by bob.miller
Bob,

Your Licenses line looks a little funny:
<Item1>C:\Bob's Stuff\4Dv13_InfoCenter\Licenses\C:\Bob's
Stuff\4Dv13_InfoCenter\Licenses\4USxxx57.html</Item1>

Yours seems to have extraneous stuff e.g.   2 x C:\...
Doesn't seem to be a valid path.

Mine looks like this
<Item1>C:\Documents and Settings\All Users\Application
Data\4D\Licenses\4Dxxxxx.license4D</Item1>



Randy Engle


**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: BUILD APPLICATION

Julio Carneiro
In reply to this post by bob.miller
the easier way to create a valid build xml is to use the BUILD APPLICATION UI first.
do as much as you can thru the UI, including selecting the plugins you want and the associated licenses (server+client in your case)
then use the Preferences\BuildApp\buildapp.xml file 4D creates for you as the boiler plate to create your own

hth
julio

On Jan 22, 2014, at 6:45 PM, [hidden email] wrote:

> On Wed, Jan 22, 2014 at 1:41 PM, Jeffrey Kain
> <[hidden email]>wrote:
>
>> Agreed - It?s usually license related or incorrect file paths.
>>
>> On Jan 22, 2014, at 1:39 PM, Chuck Miller
> <[hidden email]>
>> wrote:
>>
>>> Also make sure all licenses are in place and attached to build process
>> that you need
>
> Thanks for this; I was relying on the documentation which reads, "If this
> key is not used, no license number will be integrated and the application
> will start in demo mode.".
>
> So I changed my XML input file to include my 4D Server license.  Still no
> joy; the error handler is not called, and nothing happens.  I validated
> the XML usign www.xmlvalidation.com, no errors.
>
> All of my license files have the naming convention xxx.4DLicense, where
> xxx is the license number itself.  I tried this as-is, and then I noticed
> that the example in the documentation used an extension of .html   I
> renamed the file to xxx.html, but this didn't change anything.
>
> Anyone see anything missing?
>
> Here's the code to build:
>
>
> // Start Method
> ON ERR CALL("BuildProblem")  //never gets called
>
> BUILD APPLICATION("")
>
> if(OK=1)
> MyAlert ("Build Complete")
> Else
> MyAlert ("Build Error: "+String(Error)  //always returns 'Build Error: 0"
> End if
>
> ON ERR CALL("")
> // End Method
>
>
> Here's the XML file I open when prompted by 'BUILD APPLICATION' :
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
> <Preferences4D>
>
>  <BuildApp>
>    <Versioning></Versioning>
>    <BuildCompiled>False</BuildCompiled>
>    <IncludeAssociatedFolders>False</IncludeAssociatedFolders>
>    <BuildComponent>False</BuildComponent>
>    <BuildApplicationSerialized>False</BuildApplicationSerialized>
>    <BuildApplicationLight>False</BuildApplicationLight>
>    <SourcesFiles>
>      <RuntimeVL>
>        <RuntimeVLIncludeIt>True</RuntimeVLIncludeIt>
>      </RuntimeVL>
>      <CS>
>        <ServerIncludeIt>True</ServerIncludeIt>
>        <ClientWinIncludeIt>True</ClientWinIncludeIt>
>        <ClientMacIncludeIt>False</ClientMacIncludeIt>
>        <ServerWinFolder>C:\Bob's Stuff\4D\4D v13.4\4D Server 64
> Bits\</ServerWinFolder>
>        <ClientWinFolderToWin>C:\Bob's Stuff\4D\4D v13.4\Complements\4D
> Volume Desktop</ClientWinFolderToWin>
>      </CS>
>    </SourcesFiles>
>    <BuildApplicationName>InfoCenter</BuildApplicationName>
>    <BuildWinDestFolder>C:\Bob's
> Stuff\4Dv13_InfoCenter\InfoCenter_Build</BuildWinDestFolder>
> <DataFilePath>e:\4DServerV134\DatabaseFiles\InfoCenter.4DD</DataFilePath>
>        <CS>
>        <ServerIconWinPath>InfoCenter.ico</ServerIconWinPath>
>        <ClientWinIconForWinPath>InfoCenter.ico</ClientWinIconForWinPath>
>        </CS>
>    <CS>
>      <PortNumber>14444</PortNumber>
>      <BuildServerApplication>True</BuildServerApplication>
>      <BuildCSUpgradeable>True</BuildCSUpgradeable>
>      <CurrentVers>0</CurrentVers>
>      <HardLink></HardLink>
>    </CS>
>
>    <Licenses>
>      <ArrayLicenseWin>
>        <ItemsCount>1</ItemsCount>
>                <Item1>C:\Bob's Stuff\4Dv13_InfoCenter\Licenses\C:\Bob's
> Stuff\4Dv13_InfoCenter\Licenses\4USxxx57.html</Item1>
>      </ArrayLicenseWin>
>    </Licenses>
>  </BuildApp>
>
> </Preferences4D>
>
>
> Bob Miller
> Chomerics, a division of Parker Hannifin Corporation
>
>
> "PLEASE NOTE: The preceding information may be confidential or
> privileged. It only should be used or disseminated for the purpose
> of conducting business with Parker. If you are not an intended
> recipient, please notify the sender by replying to this message and
> then delete the information from your system. Thank you for your
> cooperation."
>
>
> **********************************************************************
> 4D v13 is available now - with more than 200 new features to make
> your applications richer and faster
> http://www.4d.com/products/new.html
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[hidden email]
> **********************************************************************


**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[hidden email]
**********************************************************************