• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Maven more dearly-Ant friendly yet to become dearly

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

In the recent past i was successful in not only creating an executable file  for a java application through maven,but also make it function through double click
While i am thankful for ranch staff who made this a possibility. i am now e ndeavouring the same way through ant command

Can any one make Ant more helpful as much as maven who was more dearly
since the jar file created by ant does not function on double click.
Also Please note the word exec only appears but nothing further.int output produced


Thanks
As
CRMK



 
author & internet detective
Posts: 40791
828
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
exec: prints with nothing after it because the target is empty:
<target name="exec" depends="clean, compile, dist"  />

If you wanted it to print something, you could put an echo in it.
 
Comal Rajagopalaratnam Muthukumar
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:exec: prints with nothing after it because the target is empty:
<target name="exec" depends="clean, compile, dist"  />

If you wanted it to print something, you could put an echo in it.



Hi

Thanks a lot .Now  with the command echo i can print  message.My execuatblefile needs an attribute that supports for executing the jar  so built .shall be
thankful if this is substituted thus enabling  ant being equated to Maven in status atleast as per the tiltle
An example code  will be ideal
Thanks once again
AS
CRMK
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic