java - Creating/filtering fileset from a list in a file or from a property with ant -


मान लीजिए मेरे पास इस सामग्री के साथ "list-of-files.txt" नामक फाइल है:

< पूर्व> file1.txt file2.properties file3.class

मैं एक चींटी में इस सामग्री का उपयोग करना चाहूंगा:

  & lt; fileset filelist = "फाइलों की सूची। Txt" / & gt;  

क्या यह संभव है?

इसके अलावा, अगर मुझे संपत्ति में फाइल की यह सूची थी:

  & lt; property name = "Different.files" value = "file1.txt, file2.properties, file3.class" / & gt;  

क्या इसके साथ एक फाइलसेट बनाने का कोई तरीका है? कुछ ऐसा:

  & lt; fileset files = "$ {different.files}" / & gt;  

आपको पहले से धन्यवाद!

ऐसा लगता है कि सहायता हो को शामिल करें और शामिल फ़ाइल विशेषताओं और नेस्टेड तत्वों को देखें। आप उस प्रसंग में कैसे उपयोग किया जाता है यह देखने के लिए आप दस्तावेज़ीकरण भी देख सकते हैं।


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -