フォーラム

ホーム » Liferay IDE » English

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Joga Krish
The command Ant is either false written or unable to find
2013/01/11 2:46
答え

Joga Krish

ランク: Junior Member

投稿: 38

参加年月日: 2013/01/08

最近の投稿

Hallo Everyone,

I want to create a Theme using liferay.
In the command prompt I have navigated to the SDK and to themes directory and entered the following command

create.bat deep-blue "Deep Blue"

and i get an error
"The command Ant is either false written or unable to find".

I am unable to find the way out . Can anyone please help me.


Regards,
Krishna.
画像の固定

添付ファイル: 1.PNG (16.1k)
Hitoshi Ozawa
RE: The command Ant is either false written or unable to find
2013/01/11 3:58
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

Did you install apache ant on your environment?
Joga Krish
RE: The command Ant is either false written or unable to find
2013/01/11 4:16
答え

Joga Krish

ランク: Junior Member

投稿: 38

参加年月日: 2013/01/08

最近の投稿

I have installed Apache maven.

In the installation process of Liferay+Eclipse+ IDE it did not explain or suggest to add Apache ant.

Regards
Krishna
画像の固定

添付ファイル: 1.PNG (27.0k)
Hitoshi Ozawa
RE: The command Ant is either false written or unable to find
2013/01/11 4:54
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

If you're using Liferay IDE, why are you executing ant command instead of just creating theme from the Liferay IDE GUI?
Joga Krish
RE: The command Ant is either false written or unable to find
2013/01/11 6:04
答え

Joga Krish

ランク: Junior Member

投稿: 38

参加年月日: 2013/01/08

最近の投稿

HI

I am not sure whether am executing ant command .

http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/creating-a-theme

I am following the description in the above link to create a theme in liferay.

As it mentioned in the description, I have created a new project in liferay and trying to run this command

create.bat "deep-blue" Deep Blue
and I get the problem emoticon
画像の固定

添付ファイル: 1.PNG (50.3k)
David H Nebinger
RE: The command Ant is either false written or unable to find
2013/01/11 6:42
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 11770

参加年月日: 2006/09/01

最近の投稿

Joga Krish:
I am not sure whether am executing ant command .


Trust us, you are. The shell/batch scripts are helpers for invoking ant. You need ant if you're using the SDK.
Dave Weitzel
Re: [Liferay Forums][English] RE: The command Ant is either false written o
2013/01/11 6:46
答え

Dave Weitzel

ランク: Regular Member

投稿: 204

参加年月日: 2009/11/18

最近の投稿

http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/initial-set-8explains
that you need Ant 1.7.0 or better on your system first

then if you are using the IDE you will not need to run commands anyway (see
IDE documentation)


On Fri, Jan 11, 2013 at 9:04 AM, Joga Krish from liferay.com <
forums@liferay.com> wrote:

> HI
>
> I am not sure whether am executing ant command .
>
>
> http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/creating-a-theme
>
> I am following the description in the above link to create a theme in
> liferay.
>
> As it mentioned in the description, I have created a new project in
> liferay and trying to run this command
>
> create.bat "deep-blue" Deep Blue
> and I get the problem [image: emoticon]
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/19130192
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>
Joga Krish
RE: Re: [Liferay Forums][English] RE: The command Ant is either false writt
2013/01/16 7:09
答え

Joga Krish

ランク: Junior Member

投稿: 38

参加年月日: 2013/01/08

最近の投稿

Hallo Dave and David,

Thank you both for quick reply and support . I am sorry for the delay.
I have successfully installed ant and now it's working emoticon


Regards,
Krishna.
画像の固定

添付ファイル: 1.PNG (33.4k)
Hitoshi Ozawa
RE: Re: [Liferay Forums][English] RE: The command Ant is either false writt
2013/01/16 15:53
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

Just for you information, if you want to use maven, refer to the following blog. Unfortunately, information on using maven is still not included in Liferay's document yet.

http://www.liferay.com/web/mika.koivisto/blog/-/blogs/getting-started-with-liferay-maven-sdk
Joga Krish
RE: Re: [Liferay Forums][English] RE: The command Ant is either false writt
2013/01/17 1:18
答え

Joga Krish

ランク: Junior Member

投稿: 38

参加年月日: 2013/01/08

最近の投稿

Thank you Hitoshi Ozawa.
I will check it out emoticon