on 04-19-2006 10:28 AM
Hi,
I have created a meta data xml file from the sync bo definition. How do I create an AWT project from it.
When I try creating an application from the xml file it creates a jsp application by default.
Please let me know if any option needs to be enabled
Regards
Raja Sekhar
hi Raja,
<reply edited by Arunkumar Ravi>
Give I_APPTYPE as AWT in MSD Creation stage.
<Pl. Don't bother this reply.>
Rgds
Ak.
Message was edited by: Arunkumar Ravi
I tired it again and it didn't work. Sorry to have mislead you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
How u created that MCD ?.
During MCD creation select
Component Type as Application
and AWT as Runtime Environment.
After that, export the meRepMeta.xml file to ur local system .
Then use this meRepMeta.xml file for application creation in NWDS.
let me know.
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kishor,
The meRepMeta.xml file is exported from the SyncBO in transaction <b>merep_sbuilder</b>. where does it have the relation with the MCD? Could you please explain?
i had sent the same reply to Raja but later edited (it didn't seem to work:-( so, i'm kinda doubtful.
and NWDS seems to create only JSP for SmartSync App Wizard
Rgds
Ak.
Hi Arun,
In the SyncBO builder , we are exporting the meRepMeta.xml file with respect to our MCD(here the selection criteria is MCD itself).
In the MCD , we are specifying the SyncBOs required for our SmartSync Application.
We can see the Component type and Runtime Environment in this tag within the meRepMeta.xml file.
<Property name="RUNTIME">JSP</Property>
<Property name="TYPE">APPLICATION</Property>
I misunderstood ur doubt or ??..
Regards
Kishor Gopinathan
Kishor,
I understand perfectly. i had overlooked the exporting of xml.
now, coming to the NWDS import of XML, i tried to create one with the following XML file. and what i got was a JSP application. i guess Raja also shares the same problem as me. but i seem to miss something in the smart sync wizard.
can u explain this?
<?xml version="1.0" encoding="utf-8" ?>
- <MeRepApplication schemaVersion="1.1" id="MI_MCD" version="01">
<Property name="CLIENT.BUILDNUMBER" />
<Property name="C_APPLRESOLVE" />
<Property name="DATA_VISIBLE_SHARED" />
<Property name="EN">LANGUAGE</Property>
<Property name="E_APPLRESOLVE" />
<Property name="FACADE_C_CLIENT">X</Property>
<Property name="FACADE_E_CLIENT">X</Property>
<Property name="HOMEPAGE.INVISIBLE">X</Property>
<Property name="INITVALUE" />
<b> <Property name="RUNTIME">AWT</Property>
<Property name="TYPE">APPLICATION</Property> </b>
- <SyncBO id="Y_SYNCBO" version="2" type="download" allowCreate="false" allowModify="false" allowDelete="false" reqDirectSync="false" downloadOrder="1">
- <TopStructure name="TOP">
- <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="SIGN" type="C" length="1" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="OPTION" type="C" length="2" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="LOW" type="D" length="8" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="HIGH" type="D" length="8" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
</TopStructure>
</SyncBO>
</MeRepApplication>
rgds
ak
Hi Arun,
<<- <MeRepApplication schemaVersion="1.1" id="MI_MCD" version="01">
>>
Here MI_MCD is the MCD u have created.
<<
<Property name="RUNTIME">AWT</Property>
<Property name="TYPE">APPLICATION</Property>
>>
Component Type is Application
It is specified that , the Runtime needed here is AWT.
nd u can see the individual SyncBOs and their metadata information.
Hope u have configured the MI Home folder for AWT Runtime in NWDS.
Regards
Kishor Gopinathan
hello arun,
SmartSync wizard doesn't support AWT project creation.
That's why it only ask you for the ServletName.
As workaround, you can create an AWT MI Project and other
separate SmartSync project that will generate the beans for
you. Copy the generated codes excluding the servlet implementation
to your AWT project...
regards
jo
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.