Updating the contents of repository.
hello...,
I am using Jdev10.1.2 with SCM.(a newbie).
Somehow i made a scm connection as 'repoadmin' and created a workarea WA1.
Then added 'project1' to WA1.
Now to make the changes made in 'project1' to be updated in the repo what i have to do?
Help me..
Rgds
jeneesh.
Your trying to read and write to the same file at once. Just read everything into a string and open the output stream later in the program. This should work (I think):
import java.io.*;
import java.lang.String;
public class UpdateFile{
public static void main( String args[]){
try{
BufferedReader in = new BufferedReader( new FileReader("SchedulerEvents.ini"));
String output = "";
String str;
String newString = null;
while(( str = in.readLine()) != null){
newString = str.replaceAll("20030605", "20030507");
output = output + newString;
System.out.println( newString);
in.close();
BufferedWriter out = new BufferedWriter( new FileWriter("SchedulerEvents.ini"));
out.write( output);
out.close();
} catch( IOException ioe){}
}
Similar Messages
-
Updating the SAP Component Repository in the SLD
Hi All,
Can I get someone to clarify note 669669 - Updating the SAP Component Repository in the SLD for me?
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D36363936363926
Currently, I am on version:
My Solution Manager is telling me:
I don't see a newer version. Am I reading this incorrectly?
Thanks,
DianaThe problem is with the CR Content version which is on 9.0 patch level and I see patch levels 12 and 13 available on SMP
Check this article and update the CR Content
http://scn.sap.com/docs/DOC-41516
Regards
RB -
Error while updating the content in workflow
Hi,
I'm getting an error while updating the content in workflow thru the checkout option. i.e. contributor checks in the content - reviewer rejects the content - then contributor checks out and modifies the content as per the reviewer's remarks and while checking in the following error occurs
Content Server Request Failed
Unable to check in content item 'HO000128' for workflow. Unable to execute service method 'checkInUpdateRevByID'. (System Error: Runtime error: java.lang.NullPointerException
at intradoc.server.DocServiceHandler.checkInRevByID(DocServiceHandler.java:248)
at intradoc.server.DocServiceHandler.checkInUpdateRevByID(DocServiceHandler.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:490)
at intradoc.server.Service.doCode(Service.java:472)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
at intradoc.server.Service.doAction(Service.java:452)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
at intradoc.server.Service.doActions(Service.java:447)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
at intradoc.server.Service.executeServiceEx(Service.java:3492)
at intradoc.server.Service.executeService(Service.java:3476)
at intradoc.server.DocServiceHandler.determineWorkflowCheckin(DocServiceHandler.java:3833)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:490)
at intradoc.server.Service.doCode(Service.java:472)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
at intradoc.server.Service.doAction(Service.java:452)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
at intradoc.server.Service.doActions(Service.java:447)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
at intradoc.server.Service.executeServiceEx(Service.java:3492)
at intradoc.server.Service.executeService(Service.java:3476)
at intradoc.server.Service.doSubService(Service.java:3465)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:279)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:264)
at intradoc.server.Service.doCodeEx(Service.java:507)
at intradoc.server.Service.doCode(Service.java:472)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
at intradoc.server.Service.doAction(Service.java:452)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
at intradoc.server.Service.doActions(Service.java:447)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
at intradoc.server.Service.executeActions(Service.java:433)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
at intradoc.server.Service.doRequest(Service.java:1707)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:197))
Please help to resolve.
Thanks in advance
PrasadI also get error while updating the content in workflow thru the checkout option as reviewer. i.e. contributor checks in the content - then reviewer either updates the metadata or checks out and modifies the content and while checking in the following error occurs
Content Server Request Failed
Unable to update the content item information for 'HO000128'.
The content ID must be specified.
Please help to resolve.
Thanks in advance
Prasad -
Approval Workflow does not update the Content Approval status if started automatically
Hi,
I’m using a simple Approval Workflow associated with
Content Approval on site pages. It works fine when I set it to be started manually (by using
Allow this workflow to be manually started by an authenticated user with Edit Item permissions
option) and on the completion of the workflow the
Content Approval status is updated accordingly. But when I set it to be started automatically (by using
Start this workflow when a new item is created
/ Start this workflow when an item is changed
options), it does not updates the Content Approval status. Note that I’ve set the
Update the approval status after the workflow is completed (use this workflow to control content approval)
option to true.
RegardsHello,
It is recommended to select "Start this workflow to approve publishing a major version of an item" when you want to use the workflow to manage content approval for
a library.
According to the Notes for “Enable Content Approval” option in
this reference:
If you are using this Approval workflow to manage content approval (moderation) for a library, and you selected the Start this workflow to approve publishing a major version
of an item check box on the Add a Workflow page..
If you did not select the Start this workflow to approve publishing a major version of an item check box on the Add a Workflow page because you do not want this workflow to
be the default content approval workflow for a library, you can select the Update the approval status (use this workflow to control content approval) check box to make this workflow a secondary content approval workflow that specific users can
start manually.
That means having an approval workflow start automatically when a document is changed or created is not a good practice when you want to use the workflow to manage
content approval for a library. You should either select "Start this workflow to approve publishing a major version of an item" or give users the option to start the workflow manually at the time they want to submit for an approval.
Thanks & Regards.
Lily Wu -
Update the content through Rich Text Editor
dear all,
Once i enter the content through the Rich Text Editor data are inside the datebase, but when want to update the things the data are not coming inside the Rich Text Editor, b'caz single quote, double quote,<> symbol is coming,Have you consider use Site Studio + Content Presenter?
http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10149/content_cp.htm
http://george.maggessy.com/2012/05/inline-editing-in-content-presenter-for_10.html
[]'s -
Adobe Content Viewer in iPad dont update the contents on mi Folio Builder! Help!
Please, someone have de same problem?!
When i update my folio through the Folio Builder in Indesign 5.5, the Content Viewer in iPad dont update de folio.
In Acrobat.com i see the contents update, but in iPad/Adobe Content Viewer not.
Why this problem happens?
Tanks.As I wrote on another thread (and this was directed at Adobe employees)
"I have been closely monitoring many threads here at DPS (and DPS Private Beta Forums) in the last few weeks, and yes I am new to this particular product group having only been in it since March. But I wonder if there is some way that Adobe can be made aware of how serious this issue is with Builder and Viewer and tools "not lining up" with Apple.
"To keep putting this problem on Apple is somewhat of a shopworn technique (and I say this with all due respect.). Still, Apple commands fully 80+ % of the tablet market. They are the big dog.
"Suggestions for the future: Perhaps there will be a way to choose a tools/viewers workflow at startup -- or to put a bigger "red flag" before installing any update that is not yet supported by Apple. Approaching this from the engineering side, you may have forgotten just how many disclaimer screens the average designer/production person faces every week! Many of us don't read them carefully. (Richard Dreyfuss reads them).
"I have nothing but admiration for what Adobe software engineers are trying to do -- and these are nascent times to be sure. But it certainly seems like this launch is going poorly.
-- Jeff -
Updating the contents of a text item only if ......
Hi ,
Suppose that we have a text item which can host up to 500 characters. On double-clicking on this item an lov is activated and a description of a parameter table appears in it....
I want this item's content not to be updated .... but simultaneously the end-user can add (only add) more characters on it......
To be more specific.... assume that:
the words "sample data" appear in this item -as its contents , when the user select a record in an activated lov- but the user cannot alter these words....-sample_data- or deleted them...
He can only put a period ('.') and add more info/notes e.t.c......
Is it achievable somehow...???
Note: I use Dev10g....
Many thanks,
SimYes... i was aware of 'indirect' solutions...-i mean solutions which use of additional variables or non-db based item.....
Is it possible , anyway, to achieve my requirement without using an 'indirect' solution.... I mean that the user cannot update the value returned by an lov , but he can add - only add some characters , as notes to this particular text item.....
Thanks.....anyway,
Sim -
Hi
i am getting data from orderrepository after that i have one statement like orderRepository.updateItem(ciItem);
why we need to call updateItem(ciItem); metod after completion
please give me clear picture on itYou invoke repository.updateItem(item descriptor name) after you make any changes to that item by calling item.setPropertyValue("",""). The updateItem method will update the changes to the repository.
In your case, after making the changes to citem i.e commerceItem, it is trying to update those changes in the Order Repository.
metod after completionDid not understand what do you mean by after completion, if you mean by it is at the end of the method then that is ideally fine because the changes has to be updated at the end.
Cheers
R -
In our project, we use WebKit framework to visit a local HTML file which contains reference to JavaScript file. Our users can modify the JavaScript file and then refresh the page to see the change which works fine until we come up to Mac OS X 10.10.2. It seems that the referred JavaScript file is cached and can be never updated except restarting application. We have already set cache policy to “NSURLRequestReloadIgnoringLocalCacheData”. However it didn’t work.
Besides there is a similar issue on Safari of Mac OS X 10.10.2. I find that refreshing the HTML in Safari will not renew the content of referred JavaScript file after modifying it. I have tried to check "disable caches" option, but it still didn't work. The behavior is different from OS X 10.10.1. Maybe it is a defect on OS X 10.10.2. Did anyone meet such issue? Is there any solution?The web process user is "_www"… that's without the " and with the _.
-
I have Single Edition. Can I update the content in my viewer?
According to the FAQ -- "No. Once you publish content to the App Store with Single Edition, updates are not available to that content."
But, within the forums people claim that you can fix typos etc. in a published Single Edition. Can someone clear this up? Would I be able to make text changes to a published Single Edition?What I've seen Adobe say on here in the past is that when an update the app changes the intent of the content, it is not acceptable. However, making grammatical or typographical corrections seem to fall within a category of accepted use.
Updating your Single Issue app to include a Spring catalog instead of the outdated Winter catalog, however, would not qualify as accepted use.
Probably want to speak directly to your reseller or Adobe about the specifics though. -
Update the Content Viewer on Ipad
hello
the day yesterday was testing the digital publishing suite and it worked fine but nowwhen you open the InDesign CS5.5 asked me an update schedule and other sheetproducer, but when fuy to try me . folio tells me that my ipad can not be download thefile to the Content Viewer is not updated and not aprece app store update as I fix this???You'll love to learn that you needed to update the folio builer only and not the folio producer tools, so you could still be able to use them. It's kind of a pain to downgrade too. Check other thread : http://forums.adobe.com/message/4269053
-
Updating the contents of a file fails
Hi,
I am trying to modify the contents of a file and then write the modifications back to the same file but I keep getting an empty file . What am I doing wrong here?
import java.io.*;
import java.lang.String;
public class UpdateFile{
public static void main( String args[]){
try{
BufferedReader in = new BufferedReader( new FileReader("SchedulerEvents.ini"));
BufferedWriter out = new BufferedWriter( new FileWriter("SchedulerEvents.ini"));
String str;
String newString = null;
while(( str = in.readLine()) != null){
newString = str.replaceAll("20030605", "20030507");
out.write( newString);
System.out.println( newString);
in.close();
out.close();
} catch( IOException ioe){}Your trying to read and write to the same file at once. Just read everything into a string and open the output stream later in the program. This should work (I think):
import java.io.*;
import java.lang.String;
public class UpdateFile{
public static void main( String args[]){
try{
BufferedReader in = new BufferedReader( new FileReader("SchedulerEvents.ini"));
String output = "";
String str;
String newString = null;
while(( str = in.readLine()) != null){
newString = str.replaceAll("20030605", "20030507");
output = output + newString;
System.out.println( newString);
in.close();
BufferedWriter out = new BufferedWriter( new FileWriter("SchedulerEvents.ini"));
out.write( output);
out.close();
} catch( IOException ioe){}
} -
How can you update the content of a textfield in a dynamic xml form from MSAccess and VBA
I am trying to use the code below to update a field in a dynamic xml form created by Livecycle.
I can read the field content but cannot change it.
What am I missing?
Thanks
R
Sub test()
Dim oPDF As AcroPDDoc
Dim FileDestName As String
Dim jso As Object
Dim ofld As Object
FileSrcName = "C:\Documents and Settings\My Documents\ADOBE Forms\NoVB.pdf"
Set oPDF = CreateObject("AcroExch.PDDoc")
Set jso = oPDF.GetJSObject
Set ofld = jso.getfield("form1.TopForm.Header.Subform1.Contact")
Debug.Print ofld.Value
ofld.Value = "HHH"
Debug.Print ofld.Value
oPDF.Save PSsavefull, FileSrcName
oPDF.Close
Set jso = Nothing
Set oPDF = Nothing
End SubYou need to research the difference between an AcroForm and an XFA form. You're trying to access a "Field" object, which is an AcroForm object. An XFA form does not have fields, it has nodes. The JavaScript you are using is specific to AcroForms and you are working with an XFA form.
-
Structure of folders of the content management repository
Hello,
is there a possibility to get an overview of the folder structure of the cm repository.
we have a lot of folders and we need to get an overview!!
best regards, christianHi Christian,
you can use the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2a/1d95a6ff8e5b49a51960210374ba5b/content.htm">Resource Statistics Report</a> for that. Just navigate to Content Management -> Reports -> Resource Statistics -> Start
Add the location "/", under parameters enter as Access Path Pattern "/**", check only "Include Folders" and "List Matching Items" and click on start.
Hope this helps,
Robert -
Update integration directory and repository content after PI system copy
We are on PI 7.1, We are trying to figure out the best way to update the contents in sld, integration directory and repository after system copy. currently we delete everything in sld, ID and IR then reimport all the content to get everything in-sync. Is there an easier way to do it, ex. just update the system in sld and the matching contents in IB and IR?
Thanks,
Jane ZhouHi Jane
This completely depends on the nature of the system copy and your SLD architecture and operational requirements
Will the source system remain available or operational ?
Is the target SLD proposing to use satellite systems already defined in the source SLD ?
When doing a system copy the following should be considered
1) If you create an import line from a previous SLD via export or sync
- that SLD has to continue to be available for further updates or sync
2) If you create a system copy, any target specific configuration like hostname, port, SID
may needed to be adapted in target landscape
3) Further considerations are needed if 1 satellite will point to 2 SLDs at the same time both for operational use
Its very easy to take a back-up or full or partial import from one SLD and put it into another or indeed sync between SLDs
however the key is to ensure the target SLD content is consistent and useable in the same way as the source SLD
Hope this helps
Stuart
Maybe you are looking for
-
ITunes 11 "get info" grayed out
Some of my songs' info under "get in" are grayed out, so I cannot change genre, etc. I have read thru a lot of old posts and I've checked the permissions on the iTunes folder and they are correct. Weird thing is that only some songs are grayed out,
-
Abap monitoring shows only errors
I'm working with a new installed PI 7.1 and my first PI scenario was a test of a SOAP to RFC scenario. I defined a WSDL and use a client to generate a request and send it. My problem was that the Abap monitoring (sxmb_moni) didn't show me any message
-
i have a mac powerbook g4 power pc processor, OS 10.5.8. what is the most current version of firefox i can use? i currently have 2.0.0.9 and am unable to auto or manual update edit
-
Error ODI-26016 when exporting and creating a version of a package
I'm getting the following error when trying to export or create a new version of a package: "ODI-26016: The requested operation cannot succeed. The object no longer exists." The package has many steps in it, so I suppose some of them are invalid, but
-
How to put site under maintenance
I am about to apply a new template to a site and will need to make it unaccessible for a little while. I need to change the styles & layout on the cart and checkout pages and didn't find an easy way to make changes without affecting the current site.