Matt -
Thanks for the information. Unfortunately this does not appear to be
working. Here is some more info.
1) The ant script is running on the same machine as flex builder. But,
it does not pick up the license.properties file that flex builder
created. I have found that file and verified that my license
information is in there. BTW: I am on windows.
2) I prefer it to be associated with the SDK anyway, so I edited
frameworks/flex-config.xml as you specified. This still does not work.
I have tried the following changes to this file in hopes that it would work.
- Tried license number wihtout "-" dashes. Tried this because I noticed
that the license.properties file created by FB3 did not have dashes.
- Tried license number with dashes... didn't work either
- Tried changing <product>flexbuilder3</product> to
<product>flexbuilder</product> again based on what I found in
license.properties file. This didn't work either.
- Tried copying the AllUsers/application data/.../license.properties
file to the flex3/frameworks directory. Again to no avail.
I can see during the compile that the mxmlc task is reading
c:\flex3\frameworks\flex-config.xml. And when I configure it to match
exactly what you wrote, that file contains
<flex-config>
- <imap://[EMAIL PROTECTED]:143/fetch%3EUID%3E/INBOX%3E18267#>
<licenses>
- <imap://[EMAIL PROTECTED]:143/fetch%3EUID%3E/INBOX%3E18267#>
<license>
<product>flexbuilder3</product>
<serial-number>XXXX</serial-number>
</license>
</licenses>
- <imap://[EMAIL PROTECTED]:143/fetch%3EUID%3E/INBOX%3E18267#>
<compiler>...
Any further ideas?
Thanks again
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
Matt Chotin wrote:
If it's on the same machine your Ant script should pick up the
license.properties that flex Builder created.
* Windows: %ALLUSERSPROFILE%\Application
Data\Adobe\Flex\license.properties
* Mac: /Library/Application Support/Adobe/Flex/license.properties
* Linux: ~/.adobe/Flex/license.properties
If you want it to be associated with the SDK you can put it in
flex-config.xml
<flex-config>
<licenses>
<license>
<product>flexbuilder3</product>
<serial-number>XXXX</serial-number>
</license>
</licenses>
<compiler>
...
</compiler>
.. etc. ...
</flex-config>
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
*On Behalf Of *Scott Melby
*Sent:* Monday, January 28, 2008 11:43 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Flex 3 SDK license.properties question
Sorry if I am missing something obvious here... but, when I expand the
latest flex3 sdk I don't see a frameworks/license.properties file. So,
I am wondering where I am supposed to plug my license information. When
I build in Flex Builder 3 GUI I don't get watermark on my
AdvancedDataGrid. But, I prefer to build using ANT so I can do
controlled builds etc. So, I need the SDK to do the same thing. I
tried creating the file using the old license.properties format, but it
seems to not get picked up.
Any help is appreciated.
Thanks
Scott
--
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com <http://www.fastlanesw.com>