You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Rural Hunter <ru...@gmail.com> on 2013/04/02 03:46:11 UTC

Re: AssetsModule.ResourceMinimizer Exception yui compressor

Hi,

The URL is not available any more. Can somebody send me Luck's package 
kindly? Thanks in advance.

于 2012/4/23 19:37, Luke Wilson 写道:
> On 23 Apr 2012, at 11:25, netdawg wrote:
>
>> Thanks, Luke.  Yes, please...
> I've uploaded the repackaged version here: http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar
>
>> net.dawg  at yahoo
>>
>> Did I have to install into maven repository (would appreciate version etc)?
>> And/Or do I use it to compress?
>      <groupId>yuicompressorbugfix</groupId>
>      <artifactId>yuicompressor-rhino-bugfix</artifactId>
>      <version>5.0</version>
>
> If you don't run your own version of nexus, you'll have to install it on the machine that you want to build on. This is the command you need I think: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
>
> You'll also need to exclude the yuicompressor version that tapestry pulls in:
>
> 	<dependency>
>              <groupId>org.apache.tapestry</groupId>
>              <artifactId>tapestry-yuicompressor</artifactId>
>              <version>5.3.2</version>
>              <exclusions>
>                  <exclusion>
>                        <groupId>com.yahoo.platform.yui</groupId>
>                        <artifactId>yuicompressor</artifactId>
>                  </exclusion>
>              </exclusions>
>          </dependency>
>
> This should work,
>
> Luke
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: AssetsModule.ResourceMinimizer Exception yui compressor

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Good to hear. Yes you are correct. You need to include the rhino version you want. 



On Apr 8, 2013, at 3:27 AM, Rural Hunter <ru...@gmail.com> wrote:

> thanks. this works though I need to include a rhino dependency specifically.
> 
> 于 2013/4/4 2:06, Lenny Primak 写道:
>> Here is something that may help you:
>> This loads a replacement of tapestry-yuicompressor that bundles in the yuicompressor library and rhino in such a way that it doesn't conflict with any other version of rhino you are using.
>> I.e. don't include stock tapestry-yuicompressor or yuicompressor from yahoo.
>> Excerpts of POM file:
>>       <properties>
>>         <yuicompressor.version>2.4.7-cust-tap-5.3.6</yuicompressor.version>
>>     </properties>
>> 
>>         <dependency>
>>             <groupId>com.yahoo.platform.yui</groupId>
>>             <artifactId>yuicompressor</artifactId>
>>             <version>${yuicompressor.version}</version>
>>             <scope>${war-deps.scope}</scope>
>>         </dependency>
>> 
>>     <repositories>
>>         <repository>
>>             <id>flowlogix-maven2</id>
>>             <url>http://flowlogix-m2.googlecode.com/svn/trunk</url>
>>         </repository>
>>     </repositories>
>> </project>
>> 
>> On Apr 1, 2013, at 8:46 PM, Rural Hunter <ru...@gmail.com> wrote:
>> 
>>> Hi,
>>> 
>>> The URL is not available any more. Can somebody send me Luck's package kindly? Thanks in advance.
>>> 
>>> 于 2012/4/23 19:37, Luke Wilson 写道:
>>>> On 23 Apr 2012, at 11:25, netdawg wrote:
>>>> 
>>>>> Thanks, Luke.  Yes, please...
>>>> I've uploaded the repackaged version here: http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar
>>>> 
>>>>> net.dawg  at yahoo
>>>>> 
>>>>> Did I have to install into maven repository (would appreciate version etc)?
>>>>> And/Or do I use it to compress?
>>>>     <groupId>yuicompressorbugfix</groupId>
>>>>     <artifactId>yuicompressor-rhino-bugfix</artifactId>
>>>>     <version>5.0</version>
>>>> 
>>>> If you don't run your own version of nexus, you'll have to install it on the machine that you want to build on. This is the command you need I think: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
>>>> 
>>>> You'll also need to exclude the yuicompressor version that tapestry pulls in:
>>>> 
>>>>    <dependency>
>>>>             <groupId>org.apache.tapestry</groupId>
>>>>             <artifactId>tapestry-yuicompressor</artifactId>
>>>>             <version>5.3.2</version>
>>>>             <exclusions>
>>>>                 <exclusion>
>>>>                       <groupId>com.yahoo.platform.yui</groupId>
>>>>                       <artifactId>yuicompressor</artifactId>
>>>>                 </exclusion>
>>>>             </exclusions>
>>>>         </dependency>
>>>> 
>>>> This should work,
>>>> 
>>>> Luke
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: AssetsModule.ResourceMinimizer Exception yui compressor

Posted by Rural Hunter <ru...@gmail.com>.
thanks. this works though I need to include a rhino dependency specifically.

于 2013/4/4 2:06, Lenny Primak 写道:
> Here is something that may help you:
> This loads a replacement of tapestry-yuicompressor that bundles in the yuicompressor library and rhino in such a way that it doesn't conflict with any other version of rhino you are using.
> I.e. don't include stock tapestry-yuicompressor or yuicompressor from yahoo.
> Excerpts of POM file:
>   
>      <properties>
>          <yuicompressor.version>2.4.7-cust-tap-5.3.6</yuicompressor.version>
>      </properties>
>
>          <dependency>
>              <groupId>com.yahoo.platform.yui</groupId>
>              <artifactId>yuicompressor</artifactId>
>              <version>${yuicompressor.version}</version>
>              <scope>${war-deps.scope}</scope>
>          </dependency>
>
>      <repositories>
>          <repository>
>              <id>flowlogix-maven2</id>
>              <url>http://flowlogix-m2.googlecode.com/svn/trunk</url>
>          </repository>
>      </repositories>
> </project>
>
> On Apr 1, 2013, at 8:46 PM, Rural Hunter <ru...@gmail.com> wrote:
>
>> Hi,
>>
>> The URL is not available any more. Can somebody send me Luck's package kindly? Thanks in advance.
>>
>> 于 2012/4/23 19:37, Luke Wilson 写道:
>>> On 23 Apr 2012, at 11:25, netdawg wrote:
>>>
>>>> Thanks, Luke.  Yes, please...
>>> I've uploaded the repackaged version here: http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar
>>>
>>>> net.dawg  at yahoo
>>>>
>>>> Did I have to install into maven repository (would appreciate version etc)?
>>>> And/Or do I use it to compress?
>>>      <groupId>yuicompressorbugfix</groupId>
>>>      <artifactId>yuicompressor-rhino-bugfix</artifactId>
>>>      <version>5.0</version>
>>>
>>> If you don't run your own version of nexus, you'll have to install it on the machine that you want to build on. This is the command you need I think: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
>>>
>>> You'll also need to exclude the yuicompressor version that tapestry pulls in:
>>>
>>>     <dependency>
>>>              <groupId>org.apache.tapestry</groupId>
>>>              <artifactId>tapestry-yuicompressor</artifactId>
>>>              <version>5.3.2</version>
>>>              <exclusions>
>>>                  <exclusion>
>>>                        <groupId>com.yahoo.platform.yui</groupId>
>>>                        <artifactId>yuicompressor</artifactId>
>>>                  </exclusion>
>>>              </exclusions>
>>>          </dependency>
>>>
>>> This should work,
>>>
>>> Luke
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: AssetsModule.ResourceMinimizer Exception yui compressor

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Here is something that may help you:
This loads a replacement of tapestry-yuicompressor that bundles in the yuicompressor library and rhino in such a way that it doesn't conflict with any other version of rhino you are using. 
I.e. don't include stock tapestry-yuicompressor or yuicompressor from yahoo. 
Excerpts of POM file:
 
    <properties>
        <yuicompressor.version>2.4.7-cust-tap-5.3.6</yuicompressor.version>
    </properties>

        <dependency>
            <groupId>com.yahoo.platform.yui</groupId>
            <artifactId>yuicompressor</artifactId>
            <version>${yuicompressor.version}</version>
            <scope>${war-deps.scope}</scope>
        </dependency>

    <repositories>
        <repository>
            <id>flowlogix-maven2</id>
            <url>http://flowlogix-m2.googlecode.com/svn/trunk</url>
        </repository>
    </repositories>
</project>

On Apr 1, 2013, at 8:46 PM, Rural Hunter <ru...@gmail.com> wrote:

> Hi,
> 
> The URL is not available any more. Can somebody send me Luck's package kindly? Thanks in advance.
> 
> 于 2012/4/23 19:37, Luke Wilson 写道:
>> On 23 Apr 2012, at 11:25, netdawg wrote:
>> 
>>> Thanks, Luke.  Yes, please...
>> I've uploaded the repackaged version here: http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar
>> 
>>> net.dawg  at yahoo
>>> 
>>> Did I have to install into maven repository (would appreciate version etc)?
>>> And/Or do I use it to compress?
>>     <groupId>yuicompressorbugfix</groupId>
>>     <artifactId>yuicompressor-rhino-bugfix</artifactId>
>>     <version>5.0</version>
>> 
>> If you don't run your own version of nexus, you'll have to install it on the machine that you want to build on. This is the command you need I think: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
>> 
>> You'll also need to exclude the yuicompressor version that tapestry pulls in:
>> 
>>    <dependency>
>>             <groupId>org.apache.tapestry</groupId>
>>             <artifactId>tapestry-yuicompressor</artifactId>
>>             <version>5.3.2</version>
>>             <exclusions>
>>                 <exclusion>
>>                       <groupId>com.yahoo.platform.yui</groupId>
>>                       <artifactId>yuicompressor</artifactId>
>>                 </exclusion>
>>             </exclusions>
>>         </dependency>
>> 
>> This should work,
>> 
>> Luke
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org