Forums de discussion

Build failed due to copy C:\proje cts\liferay\ext\ext-service\ext-service.j

ibrahim khaleel, modifié il y a 12 années.

Build failed due to copy C:\proje cts\liferay\ext\ext-service\ext-service.j

New Member Publications: 6 Date d'inscription: 04/11/11 Publications récentes
I am getting build failed because of copy C:\proje
cts\liferay\ext\ext-service\ext-service.jar to C:\projects\liferay\ext\projectsl
iferay omcat omcat-6.0.18\lib\ext\ext-service.jar due to failed to create the
parent directory for C:\projects\liferay\ext\projectsliferay omcat omcat-6. error when i run ant clean deploy,

if some knows solutions post me solution.

C:\projects\liferay\ext>ant clean deploy
Buildfile: C:\projects\liferay\ext\build.xml

clean:

clean:
[delete] Deleting directory C:\projects\liferay\ext\ext-service\classes
[delete] Deleting: C:\projects\liferay\ext\ext-service\ext-service.jar

clean:

clean:

print-current-time:
[echo] January 20, 2012 at 06:23 PM

deploy:

compile:
[mkdir] Created dir: C:\projects\liferay\ext\ext-service\classes
[javac] C:\projects\liferay\ext\ext-service\build-parent.xml:28: warning: 'i
ncludeantruntime' was not set, defaulting to build.sysclasspath=last; set to fal
se for repeatable builds
[javac] Compiling 10 source files to C:\projects\liferay\ext\ext-service\cla
sses

jar:
[jar] Building jar: C:\projects\liferay\ext\ext-service\ext-service.jar

deploy:
[copy] Copying 1 file to C:\projects\liferay\ext\projectsliferay omcat
omcat-6.0.18\lib\ext

BUILD FAILED
C:\projects\liferay\ext\build-parent.xml:99: The following error occurred while
executing this line:
C:\projects\liferay\ext\ext-service\build-parent.xml:39: Failed to copy C:\proje
cts\liferay\ext\ext-service\ext-service.jar to C:\projects\liferay\ext\projectsl
iferay omcat omcat-6.0.18\lib\ext\ext-service.jar due to failed to create the
parent directory for C:\projects\liferay\ext\projectsliferay omcat omcat-6.
0.18\lib\ext\ext-service.jar

Total time: 4 seconds

C:\projects\liferay\ext>


Thank you,

Regards,
Ibrahim
thumbnail
David H Nebinger, modifié il y a 12 années.

RE: Build failed due to copy C:\proje cts\liferay\ext\ext-service\ext-servi

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
I said in the last post Ibrahim that the path was messed up...

Do you really have a directory structure containing the folder "projectsliferay omcat omcat-6.0.18", or is it more likely that somehow you got the path entered incorrectly and it should be "projects/liferay/tomcat/tomcat-6.0.18"?

Fix your build.properties file to use forward slashes instead of backslashes and try it again.
thumbnail
Mohammad Azharuddin, modifié il y a 8 années.

RE: Build failed due to copy C:\proje cts\liferay\ext\ext-service\ext-servi

Expert Publications: 492 Date d'inscription: 17/09/12 Publications récentes
HI I am getting same error for maven build... But same steps working in another machine..what might be the problem in my machine..?