201208068PM-Create a view with minimal space usage

To create a view which uses minimal space (eg. it doesn't expand all of the directories in all the sub folders) and is much quicker to create, particularly on large labels :

$ setenv ADE_SKIP_HARDCODED_EXPANDS 1
$ setenv ADE_EXPAND_SPEC "fmwtools/*:fusionapps/jlib/*:fusionapps/hcm/deploy/*:fusionapps/hcm/jlib/*"
$ ade createview -label FUSIONAPPS_PT.V1HCMFEAT_LINUX.X64_121024.1350.S -s /net/adc1006nap.us.oracle.com/vol/fade_adc_txn/.fusionapps_view_storage/joniu feat1   
(the -s parameter allows the view to be created in the specified location, /net/adc1006nap.etc is a shared storage area)

You'll then need to expand the appropriate directories that you want to work on/deploy.

Eg. ade expand -recurse /ade/strussel_/fusionapps/hcm/components/hcmPayroll
or, can put fusionapps/hcm/components/hcmPayroll in the ADE_EXPAND_SPEC variable.

Similarly when starting a new transaction or ending the merge of a transaction, use the following commands.

$ ade begintrans -bug -no_restore
$ ade endmerge -no_restore

Refer http://ade.oraclecorp.com/twiki/bin/view/ADEFAQ/AdeMiscQ040 for further details.

The Example of Issues for this :

See below for instructions on how to create a view using minimal space.
In your build problem you are getting the error :

[copy] Copying 1 file to /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1
/ade/joniu_RUP4_Sup/fabuildtools/lib/soa-apps-build.xml:203: The following error occurred while executing this line:
/ade/joniu_RUP4_Sup/fabuildtools/lib/soa-apps-build.xml:193: Failed to copy /ade/joniu_RUP4_Sup/fusionapps/hcm/temp/applications/soa/modules/oracle.soa.apps_11.1.1/oracle.soa.apps.jar to /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1/oracle.soa.apps.jar due to java.io.FileNotFoundException /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1/oracle.soa.apps.jar (Read-only file system) and I couldn't delete the corrupt /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1/oracle.soa.apps.jar

This indicates to me that you're unable to copy to /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1/ .

[joniu@ap6024fses joniu_RUP4_Sup fusionapps] ls -l /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1/
total 4
lrwxrwxrwx 1 stvobadm svrtech 144 May 15 01:04 oracle.soa.apps.jar -> /ade_autofs/nfsdo_fusion_linux/FUSIONAPPS/PT.V1RUP4HCM/LINUX.X64/120514.1757.S/fusionapps/soa/modules/oracle.soa.apps_11.1.1/oracle.soa.apps.jar

So, it is a hyperlink.

This first thing I would do to verify that this is causing your problem is check that the folder is read-only. I think you mentioned in the meeting that it is.

Next thing to do is expand that directory using:

ade expand -recurse /ade/joniu_RUP4_Sup/fusionapps/soa
this command will expand (in your view) all of the directories below fusionapps/soa .

After you've done that command, verify that the expand has worked (i.e. the symbolic links have gone and the directory exists in your view), then try the rebuild again.

[joniu@ap6024fses joniu_RUP4_Sup ~/RUP4] ls -l /ade/joniu_RUP4_Sup/fusionapps/soa/modules/oracle.soa.apps_11.1.1/
total 4
-rw-r--r-- 1 joniu dba 609 May 15 22:46 oracle.soa.apps.jar

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值