View unanswered posts | View active topics



Reply to topic  [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Ant panel plugin 
Author Message
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 337
Location: Lviv, Ukraine
Reply with quote
I do not run debug session from ant panel. The proper way to execute ant tasks is pre/post build action in project settings (IMHO). The problem is that FD do not allow to configure several build configurations.


Wed May 30, 2012 8:20 am
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Asking (externally) FD to run a debug session is a recurring request so we'll try to do something about that.

Just curious: is it possible to create a socket connection to send a message using ANT?


Wed May 30, 2012 10:31 am
Profile WWW
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 337
Location: Lviv, Ukraine
Reply with quote
It is possible to write ant task that communicates with FD through socket. It should be easy.
But I still think that scenario with such direction of dependency/control (ant -> FD) is wrong.
Maybe it is easer to write an FD macro that launches ant, then (if ant success) launches debug session.


Wed May 30, 2012 10:43 am
Profile WWW
Member

Joined: Thu Mar 29, 2007 9:32 am
Posts: 244
Reply with quote
Canab wrote:
Maybe it is easer to write an FD macro that launches ant, then (if ant success) launches debug session.


Yes, this is definitely a proper way. Just add execution of a proper ant task of your choice in pre-build command and run build + debug by pressing F5.


Fri Jun 01, 2012 7:34 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
In SVN:
you can now call 'flashdevelop.exe path/to/some.swf' and this will start a debugging session if the project configuration is Debug.


Thu Aug 02, 2012 10:14 am
Profile WWW
Member

Joined: Tue Jun 30, 2009 8:06 pm
Posts: 205
Reply with quote
Excellent addition. Thanks a ton!


Thu Aug 02, 2012 1:33 pm
Profile
Member

Joined: Wed Feb 09, 2011 5:15 am
Posts: 5
Reply with quote
Hi,

I can't seem to run the plugin. It says,
"Unable to load an incompatible or broken plugin: C:\Program Files (x86)\FlashDevelop\AntPlugin.dll."

I'm using FlashDevelop v4.2.1 RTM, Windows 7 64bit.


Sat Dec 15, 2012 5:09 pm
Profile
Member

Joined: Sun Aug 19, 2007 4:56 pm
Posts: 210
Location: Germany (TEMP)
Reply with quote
same problem here.. FD 4.2.0

EDIT: installed FD 4.2.2, problem persists.

EDIT of EDIT : dowloading AntPlugin-FD4-r14.zip fixed the problem..


Tue Jan 08, 2013 12:15 pm
Profile WWW
Member

Joined: Tue Sep 13, 2011 7:43 am
Posts: 38
Reply with quote
I don't know if its possible in current version of the plug-in, but it would be great to hide private tasks, for example, I have about 12 tasks but only 2 of them should be called from Ant Panel :)


Sun May 19, 2013 3:24 pm
Profile
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 337
Location: Lviv, Ukraine
Reply with quote
As I know it should be available in the last version (r14).
Private targets are targets with name beginning with "-" (minus).


Sun May 19, 2013 4:41 pm
Profile WWW
Member

Joined: Tue Sep 13, 2011 7:43 am
Posts: 38
Reply with quote
Thank you for your answer. I tried to make targets with '-' at the beginning but they still show up in the Ant panel...
UPDATE: I reinstalled the plug-in and it worked :D


Sun May 19, 2013 5:47 pm
Profile
Member

Joined: Thu Jul 01, 2010 6:19 am
Posts: 8
Reply with quote
hi, im trying to use the ant panel to switch between Conditional Compilations

is it possible?
how do i do that?

thanks


Sun Nov 03, 2013 7:55 am
Profile
Member

Joined: Tue Aug 11, 2009 4:34 am
Posts: 2
Reply with quote
is anyone tried to build actionscript project with asc2.0 and ant panel?
The result panel shows "mxmlc task failed" only when there are errors in actionscript files. The details shows in output panel which make it very hard to trace the errors.
I guess it is ascsh.jar issue?


Fri May 29, 2015 9:56 am
Profile
Member

Joined: Tue Jun 30, 2009 8:06 pm
Posts: 205
Reply with quote
If you look in a previous post I included a version that shows verbose output in the panel.


Fri May 29, 2015 12:57 pm
Profile
Member

Joined: Tue Aug 11, 2009 4:34 am
Posts: 2
Reply with quote
mrpinc wrote:
If you look in a previous post I included a version that shows verbose output in the panel.


I have download that version and turn on the verbose mode but it is still not working..

[mxmlc] Error: Implicit coercion of a value of type undefined to an unrelated type Class.
[mxmlc] return (obj is undefined);

The above error shows in output panel

However, the result panel only show the following message.

The following error occurred while executing this line:
mxmlc task failed

which make it hard to debug, any idea?


<taskdef name="mxmlc" classname="com.adobe.flash.compiler.ant.MXMLCTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<mxmlc
file="${build.source}"
output="${build.output}"
actionscript-file-encoding="UTF-8"
target-player="${target.player}"
locale="en_US"
optimize="true"
debug="@{debug}"
configname="air"
>

<define name="CONFIG::debug" value="@{debug}"></define>
<define name="CONFIG::release" value="@{release}"></define>

<load-config filename="${flex.frameworks}/flex-config.xml" />

<source-path path-element="${dir.src}" />

</mxmlc>


Sat May 30, 2015 11:52 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.