You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pino Silvaggio (JIRA)" <my...@incubator.apache.org> on 2005/05/18 16:27:05 UTC

[jira] Created: (MYFACES-245) Temporary directory for the build

Temporary directory for the build
---------------------------------

         Key: MYFACES-245
         URL: http://issues.apache.org/jira/browse/MYFACES-245
     Project: MyFaces
        Type: Improvement
 Environment: ALL
    Reporter: Pino Silvaggio
    Priority: Trivial


The default temp dir for the build 
is the environment temp dir.

This can cause problems especially when cleaning.

Ex:
When cleaning some files in the temp dir 
can be locked creating an error for the target.

I know you may override the property (temp.dir} 
but i think a better default value should be set.
Maybe use {env.TEMP}/myfaces ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MYFACES-245) Temporary directory for the build

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-245?page=all ]
     
sean schofield closed MYFACES-245:
----------------------------------

    Resolution: Won't Fix

Ant allows you to override properties.  In the case of myfaces the build script will check a file called build.local.properties where you can override any property you wish.

Create a build.local.properties file and add the following:

# temp dir
temp.dir=${project.dir}/build/temp

> Temporary directory for the build
> ---------------------------------
>
>          Key: MYFACES-245
>          URL: http://issues.apache.org/jira/browse/MYFACES-245
>      Project: MyFaces
>         Type: Improvement
>  Environment: ALL
>     Reporter: Pino Silvaggio
>     Priority: Trivial

>
> The default temp dir for the build 
> is the environment temp dir.
> This can cause problems especially when cleaning.
> Ex:
> When cleaning some files in the temp dir 
> can be locked creating an error for the target.
> I know you may override the property (temp.dir} 
> but i think a better default value should be set.
> Maybe use {env.TEMP}/myfaces ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-245) Temporary directory for the build

Posted by "Pino Silvaggio (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-245?page=comments#action_65662 ]
     
Pino Silvaggio commented on MYFACES-245:
----------------------------------------

Why not use the temp dir created in build?

> Temporary directory for the build
> ---------------------------------
>
>          Key: MYFACES-245
>          URL: http://issues.apache.org/jira/browse/MYFACES-245
>      Project: MyFaces
>         Type: Improvement
>  Environment: ALL
>     Reporter: Pino Silvaggio
>     Priority: Trivial

>
> The default temp dir for the build 
> is the environment temp dir.
> This can cause problems especially when cleaning.
> Ex:
> When cleaning some files in the temp dir 
> can be locked creating an error for the target.
> I know you may override the property (temp.dir} 
> but i think a better default value should be set.
> Maybe use {env.TEMP}/myfaces ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-245) Temporary directory for the build

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-245?page=comments#action_65874 ]
     
sean schofield commented on MYFACES-245:
----------------------------------------

OK I changed the temp.dir per Sylvain's suggestion.  I thought I was the only one who was using build.local.properties to specify an alternate temp dir but it sounds like many of the committers were doing this as well.

> Temporary directory for the build
> ---------------------------------
>
>          Key: MYFACES-245
>          URL: http://issues.apache.org/jira/browse/MYFACES-245
>      Project: MyFaces
>         Type: Improvement
>  Environment: ALL
>     Reporter: Pino Silvaggio
>     Priority: Trivial

>
> The default temp dir for the build 
> is the environment temp dir.
> This can cause problems especially when cleaning.
> Ex:
> When cleaning some files in the temp dir 
> can be locked creating an error for the target.
> I know you may override the property (temp.dir} 
> but i think a better default value should be set.
> Maybe use {env.TEMP}/myfaces ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira