Skip to Content
0
Former Member
Nov 11, 2008 at 04:36 PM

weather magnet PAR File Export Error

25 Views

I have created a weather application PAR File following this blog: Create a weather magnet using xml feed from weather.com

As far as I can tell I have followed everything correctly however when I select Export to create the file I get the following error:

Nov 11, 2008 11:32:54 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[main,5,main]] ERROR: ep_wa: Build failed for myl.com/ep_wa(myl.com_MYLAN_1) in variant "default": The Build terminated with errors

-


Build log -


Development Component Build (2008-11-11 11:32:54)

Component name: ep_wa

Component vendor: myl.com

SC compartment: myl.com_MYLAN_1

Configuration: JP1_EPPHASE1_D

Location: JP1_EPPHASE1_D

Source code location: http://max-sap50:50000/dtr/ws/EPPHASE1/myl.com_MYLAN/dev/inactive/DCs/myl.com/ep_wa/_comp/

DC root folder: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_comp

DC type: Enterprise Portal

DC subtype: Portal Application Module

Host: 03-M100236

DC Model check:

All used DCs are available locally

validating dependency to build plugin "sap.com/tc/bi/bp/portalapplication"

validating dependency to public part "default" of DC "sap.com/webservices_lib"

validating dependency to public part "default" of DC "sap.com/sapxmltoolkit"

validating dependency to public part "default" of DC "sap.com/com.sapportals.htmlb"

validating dependency to public part "default" of DC "sap.com/epbc.prtapi._api"

validating dependency to public part "default" of DC "sap.com/epbc.prtpars._htmlb"

validating dependency to public part "default" of DC "sap.com/epbc.prtpars._soap"

validating dependency to public part "default" of DC "sap.com/epbc.prtapi._test"

validating dependency to public part "default" of DC "sap.com/servlet"

validating dependency to public part "default" of DC "sap.com/jaxm"

DC model check OK

Start build plugin:

using build plugin: sap.com/tc/bi/bp/portalapplication

starting build plugin from : C:Documents and Settingsm100236.dtc3DCssap.com cipportalapplication\_compgendefaultpublicdef

Build Plugin 'PortalAppPlugin', Version 7.00 SP 15 (645_VAL_REL, built on 2008-02-16 08:47:10 CET, CL76043)

development component: ep_wa (myl.com)

software component: MYLAN (myl.com)

location: JP1_EPPHASE1_D

type: Enterprise Portal, subtype Portal Application Module

build variant: default

output location: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefault

generation folder: C:Documents and Settingsm100236.dtc3 EBC1BF499DA88943638C12CB3AD23D86

plugin start time: 2008-11-11 11:32:54 GMT-05:00 (EST)

Java VM: Java HotSpot(TM) Client VM, 1.5.0_07-b03 (Sun Microsystems Inc.)

General options:

convert *.xlf to *.properties: yes

include sources for debugging: yes

Warning: Package folder "src.api" exists but is empty and will be ignored.

Checking path lengths for sources

Path length checks finished in 0.015 seconds

Preparing data context..

No public part descriptor found for component "webservices_lib" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "sapxmltoolkit" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "com.sapportals.htmlb" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "epbc.prtapi._api" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "epbc.prtpars._htmlb" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "epbc.prtpars._soap" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "epbc.prtapi._test" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "servlet" (vendor "sap.com"), public part "default", using legacy mode.

No public part descriptor found for component "jaxm" (vendor "sap.com"), public part "default", using legacy mode.

No 'default' JDK defined, will use running VM.

Data context preparation finished in 0.032 seconds

Creating Ant build file..

Creating output file: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefaultlogsuild.xml

[Velocity] Error: VM #CreateConfigArchive: error : too few arguments to macro. Wanted 3 got 0

Using macro file: C:Documents and Settingsm100236.dtc3DCssap.com cipportalapplication\_compgendefaultpublicdefmacrosuild.vm

DC specific options:

Portal Application file name: ep_wa.par

Include sources in application: no

Deploy type: online

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Warning: Internal warning: IComponentDependency#getPublicPartPurpose(String) should no longer be used.

Build file creation finished in 0.078 seconds

Starting Ant..

Using build file: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefaultlogsuild.xml

Using build target: build

Using Ant version: 1.6.2

compile:

[echo] Compiling Java sources in src.core

[echo] Starting Java compiler

[echo] Settings:

[echo] debug: on

[echo] optimize: off

[echo] deprecation: default

[echo] verbose: default

[echo] encoding: UTF8

[echo] source: default

[echo] target: default

[echo] source path: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compsrc.core

[echo] class path:

[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavaoot.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavaiq-lib.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjava c_sec_wssec_lib.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavautil.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comwebservices_lib\_compgendefaultpublicdefaultlibjavawebservices_lib.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtapi._test\_compgendefaultpublicdefaultlibjavaprttest.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtpars._soap\_compgendefaultpublicdefaultlibjavacom.sap.portal.runtime.application.soap_api.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtpars._soap\_compgendefaultpublicdefaultlibjavacom.sap.portal.runtime.application.soap_core.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtapi._api\_compgendefaultpublicdefaultlibjavaprtapi.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comepbc.prtpars._htmlb\_compgendefaultpublicdefaultlibjavacom.sap.portal.htmlb_api.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comjaxm\_compgendefaultpublicdefaultlibjavajaxm-api.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comjaxm\_compgendefaultpublicdefaultlibjavasaaj-api.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comservlet\_compgendefaultpublicdefaultlibjavaservlet.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comsapxmltoolkit\_compgendefaultpublicdefaultlibjavasapxmltoolkit.jar

[echo] C:Documents and Settingsm100236.dtc3DCssap.comcom.sapportals.htmlb\_compgendefaultpublicdefaultlibjavahtmlb.jar

[echo] output dir: C:Documents and Settingsm100236.dtc3 EBC1BF499DA88943638C12CB3AD23D86classessrc.core

[javac] Compiling 1 source file to C:Documents and Settingsm100236.dtc3 EBC1BF499DA88943638C12CB3AD23D86classessrc.core

[javac] ERROR: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compsrc.corecommylwadisplay.java:23: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier

[javac] ERROR: (try -source 1.4 or lower to use 'enum' as an identifier)

[javac] ERROR: import com.sapportals.htmlb.enum.CellHAlign;

[javac] ERROR: ^

[javac] ERROR: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compsrc.corecommylwadisplay.java:24: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier

[javac] ERROR: (try -source 1.4 or lower to use 'enum' as an identifier)

[javac] ERROR: import com.sapportals.htmlb.enum.DropdownListBoxDesign;

[javac] ERROR: ^

[javac] 2 errors

Error: C:Documents and Settingsm100236.dtc3DCsmyl.comep_wa\_compgendefaultlogsuild.xml:104: Compile failed; see the compiler error output for details.

at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)

at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)

at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)

at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

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 com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)

at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)

at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)

at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)

at com.sap.portal.developmentTools.ideSpecific.eclipse.dcutils.DCBuildWrapper.run(DCBuildWrapper.java:49)

at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:252)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)

at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)

at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:112)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)

at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)

at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

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 com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

Ant runtime 0.047 seconds

Ant build finished with ERRORS

Compile failed; see the compiler error output for details.

Error: Build stopped due to an error: Compile failed; see the compiler error output for details.

Build plugin finished at 2008-11-11 11:32:54 GMT-05:00 (EST)

Total build plugin runtime: 0.267 seconds

Build finished with ERROR