flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric THOMAS <webdoubl...@hotmail.com>
Subject RE: [jira] [Created] (FLEX-34640) Squiggly: Generate / Package RSLs and deploy with Maven
Date Mon, 17 Nov 2014 14:09:18 GMT
I've been able to make the build generate / package RSLs and deploy them in my local maven
repo, 2 things though :

1- In maven.xml, the next version is 1.1 (<property name="version" value="1.1"/>), is
it wise given 1.0-snapshot hasn't been released yet ?
(I would rather set it to 1.0 until we release)
2- The RSLs can be generated from windows only at the moment as I haven't Mac or Linux to
test how I could call:

			<exec executable="${FLEX_HOME}/bin/optimizer.bat"				  output="${OUTPUT_DIR}/flex-optimizer-@{swc-name}.log"
append="true" osfamily="windows">				<arg value="-input=@{rsl-dir}/@{swc-name}.library.swf"/>
			<arg value="-output=@{rsl-dir}/@{swc-name}.swf"/>			</exec>			<exec executable="${FLEX_HOME}/bin//digest.bat"
			  output="${OUTPUT_DIR}/flex-optimizer-@{swc-name}.log" append="true" osfamily="windows">
			<arg value="-digest.rsl-file=@{rsl-dir}/@{swc-name}.swf"/>				<arg value="-digest.swc-path=@{swc-dir}/@{swc-name}.swc"/>
		</exec>
and:
	<!-- To remove along with the condition check in the target "extract-rsls" as soon as
"optimize" and "digest"	will be setup and tested on Mac and Unix based OSes, see the MacroDef
"create-rsl" -->	<condition property="isWindows">		<os family="windows" />
</condition>
	<target name="extract-rsls" if="isWindows">		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexLinguisticUtils"/>		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexSpellingEngine"/>		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexSpellingFramework"/>		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexSpellingUI"/>		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexSpellingUIAPI"/>		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexSpellingUITLF"/>		<create-rsl rsl-dir="${OUTPUT_DIR}/rsls"
swc-dir="${OUTPUT_DIR}"					swc-name="ApacheFlexSpellingUIEx"/>	</target>

As you noticed, to prevent running those goals from other platforms than windows, at the moment
I set osfamily="windows" and even <target name="extract-rsls" if="isWindows"> until
someone who have the knowledge and the time fix it, does it.
I will commit in 72h with <property name="version" value="1.0"/> if no one can confirm
or infirm it is better than 1.1
Thanks,
Frédéric THOMAS

> From: webdoublefx@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: [jira] [Created] (FLEX-34640) Squiggly: Generate / Package RSLs and deploy
with Maven
> Date: Mon, 17 Nov 2014 12:01:31 +0000
> 
> Squiggly as Components is not set yet, I selected "Runtime Shared Libraries".If someone
as the Karma and the time to set "Squiggly" as Components, I'll change it.
> 
> Frédéric THOMAS
> 
> > Date: Mon, 17 Nov 2014 11:59:33 +0000
> > From: jira@apache.org
> > To: issues@flex.apache.org
> > Subject: [jira] [Created] (FLEX-34640) Squiggly: Generate / Package RSLs and deploy
with Maven
> > 
> > Frédéric THOMAS created FLEX-34640:
> > --------------------------------------
> > 
> >              Summary: Squiggly: Generate / Package RSLs and deploy with Maven
> >                  Key: FLEX-34640
> >                  URL: https://issues.apache.org/jira/browse/FLEX-34640
> >              Project: Apache Flex
> >           Issue Type: Improvement
> >           Components: Runtime Shared Libraries
> >             Reporter: Frédéric THOMAS
> >             Assignee: Frédéric THOMAS
> >             Priority: Minor
> > 
> > 
> > Squiggly should come with RSLs
> > 
> > 
> > 
> > --
> > This message was sent by Atlassian JIRA
> > (v6.3.4#6332)
>  		 	   		  
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message