ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamer Demirel <demi...@in.tum.de>
Subject Re: AW: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML
Date Thu, 17 Dec 2009 11:33:04 GMT
Problem solved.

I just have to delete the default attribute.

thx thx thx. now everything works fine i hope

Tamer Demirel schrieb:
> Thx very much. Exactly what i need.
> Just one question.
>
> I become a failure:
> Target dist does not exist in the project.
>
> But everything works fine? Can i ignore this???
>
> Thx,
> Tamer
>
>
> Jan.Materne@rzf.fin-nrw.de schrieb:
>> Short build file for starting point
>>
>> <project>
>>
>>   <!-- Step 1 -->
>>   <mkdir dir="OUTPUT"/>
>>     <!-- Step 2 -->
>>   <unzip src="RAR/myrar.rar" dest="OUTPUT">
>>     <patternset>
>>       <include name="myxmlfile.xml"/>
>>     <patternset>
>>   </unzip>
>>     <!-- Step 3 -->
>>   <xslt in="OUTPUT/pathto/myxmlfile.xml" out="" style="XST/???"/>
>>
>> </project>
>>
>>
>>
>> Jan
>>  
>>> -----Urspr√ľngliche Nachricht-----
>>> Von: Tamer Demirel [mailto:demirel@in.tum.de] Gesendet: Donnerstag, 
>>> 17. Dezember 2009 11:11
>>> An: Ant Users List
>>> Betreff: Re: Question ant script --> extract RAR-File --> XALAN -->

>>> XSLT, XML
>>>
>>> Thx for the suggest, but don't you think I've even look at there and 
>>> still dont know how its gonna work?
>>> I have no clue of ant. And it would be very nice to have a short 
>>> example about the four commands, just i need.
>>> Its easier for me instead of reading the manual and try try try till 
>>> its worked. My try-time is over and i just want to automatise this.
>>> I wont use ant again but for this short think i need it.
>>> So if there is any pro out there plz need help.
>>> The mkdir command worked.
>>>
>>> Thx,
>>> Tamer
>>>
>>> Antoine Levy-Lambert schrieb:
>>>    
>>>> Hello Tamer,
>>>>
>>>> I suggest you open the ant manual that you can find online,       
>>> and you look
>>>    
>>>> at the tasks mkdir, unzip, xslt.
>>>>
>>>> Regards,
>>>>
>>>> Antoine
>>>>
>>>> Tamer Demirel wrote:
>>>>        
>>>>> Hello,
>>>>>
>>>>> i like to automatise my transformations xslt and . So i         
>>> don't want to
>>>    
>>>>> build class files.
>>>>> Can somebody give me a short example how i can use ant to         
>>> achieve it?
>>>    
>>>>> I need the commands or example File.
>>>>>
>>>>> What i have:
>>>>>
>>>>> Folder: PROJECT
>>>>> Subfolder: RAR (here are my RAR-File)
>>>>> Subfolder: XSLT (here are my XSLT-Files)
>>>>> Subfolder: XML (here are my XML-Files)
>>>>> Subfolder: OUTPUT (here comes the results)
>>>>>
>>>>> What i need:
>>>>>
>>>>> 1. I need a Script that creates first the OUTPUT-Folder
>>>>>
>>>>> 2. Then i must extract from the RAR-File one XML-File and cut and
>>>>> paste it in Subfolder OUTPUT
>>>>>
>>>>> 3. Then i must use XALAN and make the command:
>>>>>
>>>>> java org.apache.xalan.xslt.Process -in {input-File}-xsl
>>>>> {XSLT-File}-out {Output-File}
>>>>>
>>>>> Then i must do this command x-times. and finish.
>>>>>
>>>>> Can somebody help me???
>>>>> Thx,
>>>>> Tamer
>>>>>
>>>>>             
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>     
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>   
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message