ANT build help

0 views
Skip to first unread message

Mark Davis

unread,
Jun 22, 2018, 11:09:31 AM6/22/18
to hou...@googlegroups.com
any ANT users on here?   I have an ANT build where I have to include specific folders to deploy, instead of excluding specific folders

I have defined a patternset like this...

<patternset id="include_folders">
<include name="**/admin/*.*"/>
<include name="**/applicant/*.*"/>
 ...
</patternset>

So this is saying "include everything in the admin folder and the applicant folder".  That works.  

However, the files I have in the root are not being deployed.   Everything I have tried seems to end up saying  "deploy everything"

for instance... <include name="**/*.*" /> deploys every file in every folder

It seems this should be easy and I am missing something

Thanks

Mark

Seth Bienek

unread,
Jun 22, 2018, 12:27:06 PM6/22/18
to hou...@googlegroups.com

Shouldn’t you be using <exclude name="**/admin/*.*"/>, etc. for the folders you don’t want deployed?

 

Seth

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.
To unsubscribe, send email to houcfug-u...@googlegroups.com
For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

Mark Davis

unread,
Jun 22, 2018, 1:46:05 PM6/22/18
to hou...@googlegroups.com
Those the directories to include.  The client is requiring that we specify which directories to include, not exclude.

I am able to correctly include all the directories I need, but it is leaving out the individual files in the root.   I haven't been able to figure out how to include those as well.

Thanks Seth

Mark

On Fri, Jun 22, 2018 at 11:27 AM, Seth Bienek <se...@sethbienek.com> wrote:

Shouldn’t you be using <exclude name="**/admin/*.*"/>, etc. for the folders you don’t want deployed?

 

Seth

 

 

From: hou...@googlegroups.com <hou...@googlegroups.com> On Behalf Of Mark Davis
Sent: Friday, June 22, 2018 10:10 AM
To: hou...@googlegroups.com
Subject: [houcfug] ANT build help

 

any ANT users on here?   I have an ANT build where I have to include specific folders to deploy, instead of excluding specific folders

 

I have defined a patternset like this...

 

<patternset id="include_folders">                          

                <include name="**/admin/*.*"/>

                <include name="**/applicant/*.*"/>

 ...

</patternset>

 

So this is saying "include everything in the admin folder and the applicant folder".  That works.  

 

However, the files I have in the root are not being deployed.   Everything I have tried seems to end up saying  "deploy everything"

 

for instance... <include name="**/*.*" /> deploys every file in every folder

 

It seems this should be easy and I am missing something

 

Thanks

 

Mark

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.

To unsubscribe, send email to houcfug-unsubscribe@googlegroups.com


For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.
To unsubscribe, send email to houcfug-unsubscribe@googlegroups.com

For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+unsubscribe@googlegroups.com.

Mark Davis

unread,
Jun 22, 2018, 3:06:53 PM6/22/18
to hou...@googlegroups.com
In case anyone cares, I figured it out.

<include name="*.*" />

This grabs all files in the root

On Fri, Jun 22, 2018 at 11:27 AM, Seth Bienek <se...@sethbienek.com> wrote:

Shouldn’t you be using <exclude name="**/admin/*.*"/>, etc. for the folders you don’t want deployed?

 

Seth

 

 

From: hou...@googlegroups.com <hou...@googlegroups.com> On Behalf Of Mark Davis
Sent: Friday, June 22, 2018 10:10 AM
To: hou...@googlegroups.com
Subject: [houcfug] ANT build help

 

any ANT users on here?   I have an ANT build where I have to include specific folders to deploy, instead of excluding specific folders

 

I have defined a patternset like this...

 

<patternset id="include_folders">                          

                <include name="**/admin/*.*"/>

                <include name="**/applicant/*.*"/>

 ...

</patternset>

 

So this is saying "include everything in the admin folder and the applicant folder".  That works.  

 

However, the files I have in the root are not being deployed.   Everything I have tried seems to end up saying  "deploy everything"

 

for instance... <include name="**/*.*" /> deploys every file in every folder

 

It seems this should be easy and I am missing something

 

Thanks

 

Mark

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.

To unsubscribe, send email to houcfug-unsubscribe@googlegroups.com


For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.
To unsubscribe, send email to houcfug-unsubscribe@googlegroups.com

For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+unsubscribe@googlegroups.com.

Gary McNeel

unread,
Jun 22, 2018, 3:12:04 PM6/22/18
to hou...@googlegroups.com
Glad you figured it out. Thanks for letting us know.

Regards,
Gary

To unsubscribe, send email to houcfug-u...@googlegroups.com


For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+u...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.
To unsubscribe, send email to houcfug-u...@googlegroups.com

For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.
To unsubscribe, send email to houcfug-u...@googlegroups.com

For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups "Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to houcfug+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Warm Regards,
Gary McNeel
713-962-0885
Reply all
Reply to author
Forward
0 new messages