Yes i had already done that i had breaked it up into two tagets,
but now it is giving me error like this

[java] 'com.ora.ITS.SDK.Tools.ConsoleDistribBuilder'
     [java] '-f'
     [java] 'SRC/org/net/carmel/services/ptts/PTTService.distribdef'
     [java] '-o'
     [java] 'SRC/org/net/carmel/services/ptts/PTTService.distrib'
     [java]
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.

i had checked everything but i havn't found any ' charcater what gone wrong ????


--- message from [EMAIL PROTECTED] attached:

_____________________________________________________________
Join SQAtester.com Community  ---> http://www.sqatester.com/testersarea/joinus.htm

_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag
--- Begin Message ---
You have started this thread on jGuru
(http://www.jguru.com/forums/view.jsp?EID=1060681).
Because I don´t want do answer on that forum AND on this list, where should
we go?

For next step: make two targets, one for creating the parcel file and one
for creating the
distrib file. Then call only the parcel target. Is the file ok? Then call
the distrib target.
Is that file ok? If yes your ant instructions work.


Jan Matèrne

-----Ursprüngliche Nachricht-----
Von: Pritesh saharey [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 4. März 2003 06:29
An: Ant Users List
Betreff: Re: AW: How to use java attrib in build.xml

hi jan,
   thanx for your support ,but it is still not working fine as suggested by
you i has written my code like this

<target name="distribute" depends="init,compile"
                description="Creats distribe file">
                <java append="true" classpathref="classpath"
        
classname="com.ora.ITS.SDK.Tools.ConsoleParcelBuilder">
                        <arg line="-f
SRC/org/net/carmel/services/ptts/PTTService.parceldef -o
SRC/org/net/carmel/services/ptts/PTTService.parcel" />

                                
                </java>
                <java append="true" classpathref="classpath"
        
classname="com.ora.ITS.SDK.Tools.ConsoleDistribBuilder">
                        <arg line="-f
SRC/org/net/carmel/services/ptts/PTTService.distribdef -o
SRC/org/net/carmel/services/ptts/PTTService.distrib" />
                        
                </java>
        
                <move
file="SRC/org/net/carmel/services/ptts/PTTService.distrib"
todir="${build.distrib.dir}"/>
                
</target>

but after running this target my build gets terminated without any message
like this

distribute:
[EMAIL PROTECTED] Carmel]$

as iam getting PTTService.parcel file but not PTTService.distrib what is the
reason iam failing to understand, will u pls help me out

pritesh
--- message from [EMAIL PROTECTED] attached:

_____________________________________________________________
Join SQAtester.com Community  --->
http://www.sqatester.com/testersarea/joinus.htm

_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No
Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to