manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CONNECTORS-1418) Develop Ant build script to compile LESS to CSS
Date Wed, 26 Apr 2017 19:55:04 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985454#comment-15985454
] 

Karl Wright edited comment on CONNECTORS-1418 at 4/26/17 7:54 PM:
------------------------------------------------------------------

There does not appear to be a compatible ant plugin to the above, so we'd need to invoke compiler
code using the ant exec task.

https://ant.apache.org/manual/Tasks/exec.html

The compatible compiler jar to the maven plugin above is Apache 2.0 licensed and can be found
at:

{code}
<dependency>
  <groupId>org.lesscss</groupId>
  <artifactId>lesscss</artifactId>
  <version>1.7.0.1.1</version>
</dependency>
{code}

We will need to write a main class to call the compiler since there's no existing plugin around
to use.  Or we could write an actual Ant plugin, but I've never done that before, and I doubt
we could build it and register it while already executing an ant script.



was (Author: kwright@metacarta.com):
There does not appear to be a compatible ant plugin to the above, so we'd need to invoke compiler
code using the ant exec task.

{code}
https://ant.apache.org/manual/Tasks/exec.html
{code}

The compatible compiler jar to the maven plugin above is Apache 2.0 licensed and can be found
at:

{code}
<dependency>
  <groupId>org.lesscss</groupId>
  <artifactId>lesscss</artifactId>
  <version>1.7.0.1.1</version>
</dependency>
{code}

We will need to write a main class to call the compiler since there's no existing plugin around
to use.  Or we could write an actual Ant plugin, but I've never done that before, and I doubt
we could build it and register it while already executing an ant script.


> Develop Ant build script to compile LESS to CSS
> -----------------------------------------------
>
>                 Key: CONNECTORS-1418
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1418
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Framework core
>    Affects Versions: ManifoldCF 2.7
>            Reporter: Kishore Kumar
>            Assignee: Kishore Kumar
>
> We need to add Ant build script to compile LESS files to CSS.
> Currently the compilation is dependent on Intellij IDE Less plugin.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message